Class DistributedDataStore
java.lang.Object
org.opendaylight.controller.cluster.datastore.AbstractDataStore
org.opendaylight.controller.cluster.datastore.DistributedDataStore
- All Implemented Interfaces:
AutoCloseable
,EventListener
,DatastoreContextPropertiesUpdater.Listener
,DistributedDataStoreInterface
,DOMDataBrokerExtension
,DOMDataTreeCommitCohortRegistry
,DOMServiceExtension<DOMDataBroker,
,DOMDataBrokerExtension> DOMStore
,DOMStoreTransactionFactory
,DOMStoreTreeChangePublisher
,EffectiveModelContextListener
Implements a distributed DOMStore using Akka Patterns.ask().
-
Constructor Summary
ConstructorsConstructorDescriptionDistributedDataStore
(ActorSystem actorSystem, ClusterWrapper cluster, Configuration configuration, DatastoreContextFactory datastoreContextFactory, DatastoreSnapshot restoreFromSnapshot) -
Method Summary
Methods inherited from class org.opendaylight.controller.cluster.datastore.AbstractDataStore
awaitReadiness, awaitReadiness, awaitReadiness, getActorUtils, getClient, getShardManagerCreator, initialSettleFuture, onDatastoreContextUpdated, onModelContextUpdated, registerCommitCohort, registerProxyListener, registerTreeChangeListener, setCloseable, waitTillReady
-
Constructor Details
-
DistributedDataStore
public DistributedDataStore(ActorSystem actorSystem, ClusterWrapper cluster, Configuration configuration, DatastoreContextFactory datastoreContextFactory, DatastoreSnapshot restoreFromSnapshot)
-
-
Method Details
-
createTransactionChain
-
newReadOnlyTransaction
-
newWriteOnlyTransaction
-
newReadWriteTransaction
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classAbstractDataStore
-