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(ActorContext actorContext,
ClientIdentifier identifier) |
protected |
AbstractDataStore(ActorContext actorContext,
ClientIdentifier identifier,
DataStoreClient clientActor) |
protected |
AbstractDataStore(akka.actor.ActorSystem actorSystem,
ClusterWrapper cluster,
Configuration configuration,
DatastoreContextFactory datastoreContextFactory,
DatastoreSnapshot restoreFromSnapshot) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ActorContext |
getActorContext() |
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, wait
protected AbstractDataStore(akka.actor.ActorSystem actorSystem, ClusterWrapper cluster, Configuration configuration, DatastoreContextFactory datastoreContextFactory, DatastoreSnapshot restoreFromSnapshot)
protected AbstractDataStore(ActorContext actorContext, ClientIdentifier identifier)
protected AbstractDataStore(ActorContext actorContext, 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.DOMStoreTreeChangePublisher
public <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.DOMDataTreeCommitCohortRegistry
public void onGlobalContextUpdated(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
onGlobalContextUpdated
in interface org.opendaylight.yangtools.yang.model.api.SchemaContextListener
public void onDatastoreContextUpdated(DatastoreContextFactory contextFactory)
onDatastoreContextUpdated
in interface DatastoreContextPropertiesUpdater.Listener
public void close()
close
in interface AutoCloseable
public ActorContext getActorContext()
getActorContext
in interface DistributedDataStoreInterface
public 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.