@Service public class SimpleVirtualIntentStore extends AbstractVirtualStore<org.onosproject.net.intent.IntentEvent,org.onosproject.net.intent.IntentStoreDelegate> implements org.onosproject.incubator.net.virtual.VirtualNetworkIntentStore
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleVirtualIntentStore.SystemClockTimestamp |
delegateMap| Constructor and Description |
|---|
SimpleVirtualIntentStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addPending(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.IntentData data) |
void |
batchWrite(org.onosproject.incubator.net.virtual.NetworkId networkId,
Iterable<org.onosproject.net.intent.IntentData> updates) |
void |
deactivate() |
List<org.onosproject.net.intent.Intent> |
getInstallableIntents(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey) |
org.onosproject.net.intent.Intent |
getIntent(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key key) |
long |
getIntentCount(org.onosproject.incubator.net.virtual.NetworkId networkId) |
Iterable<org.onosproject.net.intent.IntentData> |
getIntentData(org.onosproject.incubator.net.virtual.NetworkId networkId,
boolean localOnly,
long olderThan) |
org.onosproject.net.intent.IntentData |
getIntentData(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key key) |
Iterable<org.onosproject.net.intent.Intent> |
getIntents(org.onosproject.incubator.net.virtual.NetworkId networkId) |
org.onosproject.net.intent.IntentState |
getIntentState(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey) |
Iterable<org.onosproject.net.intent.Intent> |
getPending(org.onosproject.incubator.net.virtual.NetworkId networkId) |
Iterable<org.onosproject.net.intent.IntentData> |
getPendingData(org.onosproject.incubator.net.virtual.NetworkId networkId) |
Iterable<org.onosproject.net.intent.IntentData> |
getPendingData(org.onosproject.incubator.net.virtual.NetworkId networkId,
boolean localOnly,
long olderThan) |
org.onosproject.net.intent.IntentData |
getPendingData(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey) |
boolean |
isMaster(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey) |
void |
write(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.IntentData newData) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Activate public void activate()
@Deactivate public void deactivate()
public long getIntentCount(org.onosproject.incubator.net.virtual.NetworkId networkId)
getIntentCount in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic Iterable<org.onosproject.net.intent.Intent> getIntents(org.onosproject.incubator.net.virtual.NetworkId networkId)
getIntents in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic Iterable<org.onosproject.net.intent.IntentData> getIntentData(org.onosproject.incubator.net.virtual.NetworkId networkId, boolean localOnly, long olderThan)
getIntentData in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic org.onosproject.net.intent.IntentState getIntentState(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey)
getIntentState in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic List<org.onosproject.net.intent.Intent> getInstallableIntents(org.onosproject.incubator.net.virtual.NetworkId networkId, org.onosproject.net.intent.Key intentKey)
getInstallableIntents in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic void write(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.IntentData newData)
write in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic void batchWrite(org.onosproject.incubator.net.virtual.NetworkId networkId,
Iterable<org.onosproject.net.intent.IntentData> updates)
batchWrite in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic org.onosproject.net.intent.Intent getIntent(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key key)
getIntent in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic org.onosproject.net.intent.IntentData getIntentData(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key key)
getIntentData in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic void addPending(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.IntentData data)
addPending in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic boolean isMaster(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey)
isMaster in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic Iterable<org.onosproject.net.intent.Intent> getPending(org.onosproject.incubator.net.virtual.NetworkId networkId)
getPending in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic Iterable<org.onosproject.net.intent.IntentData> getPendingData(org.onosproject.incubator.net.virtual.NetworkId networkId)
getPendingData in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic org.onosproject.net.intent.IntentData getPendingData(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.intent.Key intentKey)
getPendingData in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStorepublic Iterable<org.onosproject.net.intent.IntentData> getPendingData(org.onosproject.incubator.net.virtual.NetworkId networkId, boolean localOnly, long olderThan)
getPendingData in interface org.onosproject.incubator.net.virtual.VirtualNetworkIntentStore