@Service public class SimpleVirtualFlowObjectiveStore extends AbstractVirtualStore<org.onosproject.net.flowobjective.ObjectiveEvent,org.onosproject.net.flowobjective.FlowObjectiveStoreDelegate> implements org.onosproject.incubator.net.virtual.VirtualNetworkFlowObjectiveStore
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.store.service.StorageService |
storageService |
delegateMap| Constructor and Description |
|---|
SimpleVirtualFlowObjectiveStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
int |
allocateNextId(org.onosproject.incubator.net.virtual.NetworkId networkId) |
void |
deactivate() |
Map<Integer,org.onosproject.net.behaviour.NextGroup> |
getAllGroups(org.onosproject.incubator.net.virtual.NetworkId networkId) |
org.onosproject.net.behaviour.NextGroup |
getNextGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
Integer nextId) |
protected ConcurrentMap<Integer,byte[]> |
getNextGroups(org.onosproject.incubator.net.virtual.NetworkId networkId) |
protected void |
initNextGroupsMap() |
void |
putNextGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
Integer nextId,
org.onosproject.net.behaviour.NextGroup group) |
org.onosproject.net.behaviour.NextGroup |
removeNextGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
Integer nextId) |
protected void |
updateNextGroupsMap(org.onosproject.incubator.net.virtual.NetworkId networkId,
ConcurrentMap<Integer,byte[]> nextGroups) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.service.StorageService storageService
@Activate public void activate()
public void deactivate()
protected void initNextGroupsMap()
protected void updateNextGroupsMap(org.onosproject.incubator.net.virtual.NetworkId networkId,
ConcurrentMap<Integer,byte[]> nextGroups)
protected ConcurrentMap<Integer,byte[]> getNextGroups(org.onosproject.incubator.net.virtual.NetworkId networkId)
public void putNextGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
Integer nextId,
org.onosproject.net.behaviour.NextGroup group)
putNextGroup in interface org.onosproject.incubator.net.virtual.VirtualNetworkFlowObjectiveStorepublic org.onosproject.net.behaviour.NextGroup getNextGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
Integer nextId)
getNextGroup in interface org.onosproject.incubator.net.virtual.VirtualNetworkFlowObjectiveStorepublic org.onosproject.net.behaviour.NextGroup removeNextGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
Integer nextId)
removeNextGroup in interface org.onosproject.incubator.net.virtual.VirtualNetworkFlowObjectiveStorepublic Map<Integer,org.onosproject.net.behaviour.NextGroup> getAllGroups(org.onosproject.incubator.net.virtual.NetworkId networkId)
getAllGroups in interface org.onosproject.incubator.net.virtual.VirtualNetworkFlowObjectiveStorepublic int allocateNextId(org.onosproject.incubator.net.virtual.NetworkId networkId)
allocateNextId in interface org.onosproject.incubator.net.virtual.VirtualNetworkFlowObjectiveStore