public abstract class AbstractDistributedPiTranslationStore<T extends org.onosproject.net.pi.service.PiTranslatable,E extends org.onosproject.net.pi.runtime.PiEntity>
extends org.onosproject.store.AbstractStore<org.onosproject.net.pi.service.PiTranslationEvent<T,E>,org.onosproject.net.pi.service.PiTranslationStoreDelegate<T,E>>
implements org.onosproject.net.pi.service.PiTranslationStore<T,E>
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.store.service.StorageService |
storageService |
| Constructor and Description |
|---|
AbstractDistributedPiTranslationStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addOrUpdate(org.onosproject.net.pi.runtime.PiHandle<E> handle,
org.onosproject.net.pi.service.PiTranslatedEntity<T,E> entity) |
void |
deactivate() |
org.onosproject.net.pi.service.PiTranslatedEntity<T,E> |
get(org.onosproject.net.pi.runtime.PiHandle<E> handle) |
java.lang.Iterable<org.onosproject.net.pi.service.PiTranslatedEntity<T,E>> |
getAll() |
protected abstract java.lang.String |
mapSimpleName()
Returns a string that identifies the map maintained by this store among
others that uses this abstract class.
|
void |
remove(org.onosproject.net.pi.runtime.PiHandle<E> handle) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.service.StorageService storageService
public AbstractDistributedPiTranslationStore()
protected abstract java.lang.String mapSimpleName()
@Activate public void activate()
@Deactivate public void deactivate()
public void addOrUpdate(org.onosproject.net.pi.runtime.PiHandle<E> handle, org.onosproject.net.pi.service.PiTranslatedEntity<T,E> entity)
public void remove(org.onosproject.net.pi.runtime.PiHandle<E> handle)
public org.onosproject.net.pi.service.PiTranslatedEntity<T,E> get(org.onosproject.net.pi.runtime.PiHandle<E> handle)