public abstract class AbstractDataStore extends Object implements DistributedDataStoreInterface, org.opendaylight.yangtools.yang.model.api.SchemaContextListener, DatastoreContextPropertiesUpdater.Listener, org.opendaylight.mdsal.dom.spi.store.DOMStoreTreeChangePublisher, org.opendaylight.mdsal.dom.api.DOMDataTreeCommitCohortRegistry, AutoCloseable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDataStore(akka.actor.ActorSystem actorSystem,
ClusterWrapper cluster,
Configuration configuration,
DatastoreContextFactory datastoreContextFactory,
DatastoreSnapshot restoreFromSnapshot) |
protected |
AbstractDataStore(ActorUtils actorUtils,
ClientIdentifier identifier) |
protected |
AbstractDataStore(ActorUtils actorUtils,
ClientIdentifier identifier,
DataStoreClient clientActor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ActorUtils |
getActorUtils() |
protected DataStoreClient |
getClient() |
CountDownLatch |
getWaitTillReadyCountDownLatch() |
void |
onDatastoreContextUpdated(DatastoreContextFactory contextFactory) |
void |
onGlobalContextUpdated(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext) |
<C extends org.opendaylight.mdsal.dom.api.DOMDataTreeCommitCohort> |
registerCommitCohort(org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier subtree,
C cohort) |
<L extends org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener> |
registerProxyListener(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier shardLookup,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier insideShard,
org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener delegate) |
<L extends org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener> |
registerShardConfigListener(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier internalPath,
org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener delegate) |
<L extends org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener> |
registerTreeChangeListener(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier treeId,
L listener) |
void |
setCloseable(AutoCloseable closeable) |
void |
waitTillReady() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected AbstractDataStore(akka.actor.ActorSystem actorSystem,
ClusterWrapper cluster,
Configuration configuration,
DatastoreContextFactory datastoreContextFactory,
DatastoreSnapshot restoreFromSnapshot)
protected AbstractDataStore(ActorUtils actorUtils, ClientIdentifier identifier)
protected AbstractDataStore(ActorUtils actorUtils, ClientIdentifier identifier, DataStoreClient clientActor)
protected final DataStoreClient getClient()
public void setCloseable(AutoCloseable closeable)
public <L extends org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener> org.opendaylight.yangtools.concepts.ListenerRegistration<L> registerTreeChangeListener(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier treeId,
L listener)
registerTreeChangeListener in interface org.opendaylight.mdsal.dom.spi.store.DOMStoreTreeChangePublisherpublic <C extends org.opendaylight.mdsal.dom.api.DOMDataTreeCommitCohort> org.opendaylight.mdsal.dom.api.DOMDataTreeCommitCohortRegistration<C> registerCommitCohort(org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier subtree,
C cohort)
registerCommitCohort in interface org.opendaylight.mdsal.dom.api.DOMDataTreeCommitCohortRegistrypublic void onGlobalContextUpdated(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
onGlobalContextUpdated in interface org.opendaylight.yangtools.yang.model.api.SchemaContextListenerpublic void onDatastoreContextUpdated(DatastoreContextFactory contextFactory)
onDatastoreContextUpdated in interface DatastoreContextPropertiesUpdater.Listenerpublic void close()
close in interface AutoCloseablepublic ActorUtils getActorUtils()
getActorUtils in interface DistributedDataStoreInterfacepublic void waitTillReady()
public CountDownLatch getWaitTillReadyCountDownLatch()
public <L extends org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener> org.opendaylight.yangtools.concepts.ListenerRegistration<L> registerProxyListener(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier shardLookup,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier insideShard,
org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener delegate)
public <L extends org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener> org.opendaylight.yangtools.concepts.ListenerRegistration<L> registerShardConfigListener(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier internalPath,
org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener delegate)
Copyright © 2019 OpenDaylight. All rights reserved.