@Service
public class DistributedFlowObjectiveStore
extends org.onosproject.store.AbstractStore<org.onosproject.net.flowobjective.ObjectiveEvent,org.onosproject.net.flowobjective.FlowObjectiveStoreDelegate>
implements org.onosproject.net.flowobjective.FlowObjectiveStore
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.store.service.StorageService |
storageService |
| Constructor and Description |
|---|
DistributedFlowObjectiveStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
int |
allocateNextId() |
void |
deactivate() |
Map<Integer,org.onosproject.net.behaviour.NextGroup> |
getAllGroups() |
org.onosproject.net.behaviour.NextGroup |
getNextGroup(Integer nextId) |
void |
putNextGroup(Integer nextId,
org.onosproject.net.behaviour.NextGroup group) |
org.onosproject.net.behaviour.NextGroup |
removeNextGroup(Integer nextId) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.service.StorageService storageService
@Activate public void activate()
@Deactivate public void deactivate()
public void putNextGroup(Integer nextId, org.onosproject.net.behaviour.NextGroup group)
putNextGroup in interface org.onosproject.net.flowobjective.FlowObjectiveStorepublic org.onosproject.net.behaviour.NextGroup getNextGroup(Integer nextId)
getNextGroup in interface org.onosproject.net.flowobjective.FlowObjectiveStorepublic org.onosproject.net.behaviour.NextGroup removeNextGroup(Integer nextId)
removeNextGroup in interface org.onosproject.net.flowobjective.FlowObjectiveStorepublic Map<Integer,org.onosproject.net.behaviour.NextGroup> getAllGroups()
getAllGroups in interface org.onosproject.net.flowobjective.FlowObjectiveStorepublic int allocateNextId()
allocateNextId in interface org.onosproject.net.flowobjective.FlowObjectiveStore