Class ClientBackedDataStore
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.AbstractDataStore
-
- org.opendaylight.controller.cluster.databroker.ClientBackedDataStore
-
- All Implemented Interfaces:
AutoCloseable,EventListener,DatastoreContextPropertiesUpdater.Listener,DistributedDataStoreInterface,DOMDataBrokerExtension,DOMDataTreeCommitCohortRegistry,DOMServiceExtension<DOMDataBroker,DOMDataBrokerExtension>,DOMStore,DOMStoreTransactionFactory,DOMStoreTreeChangePublisher,EffectiveModelContextListener
public class ClientBackedDataStore extends AbstractDataStore
Implements a distributed DOMStore using ClientActor.
-
-
Constructor Summary
Constructors Constructor Description ClientBackedDataStore(ActorSystem actorSystem, ClusterWrapper cluster, Configuration configuration, DatastoreContextFactory datastoreContextFactory, DatastoreSnapshot restoreFromSnapshot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DOMStoreTransactionChaincreateTransactionChain()DOMStoreReadTransactionnewReadOnlyTransaction()DOMStoreReadWriteTransactionnewReadWriteTransaction()DOMStoreWriteTransactionnewWriteOnlyTransaction()-
Methods inherited from class org.opendaylight.controller.cluster.datastore.AbstractDataStore
awaitReadiness, close, getActorUtils, getClient, getShardManagerCreator, getWaitTillReadyCountDownLatch, onDatastoreContextUpdated, onModelContextUpdated, registerCommitCohort, registerProxyListener, registerShardConfigListener, registerTreeChangeListener, setCloseable, waitTillReady
-
-
-
-
Constructor Detail
-
ClientBackedDataStore
public ClientBackedDataStore(ActorSystem actorSystem, ClusterWrapper cluster, Configuration configuration, DatastoreContextFactory datastoreContextFactory, DatastoreSnapshot restoreFromSnapshot)
-
-
Method Detail
-
createTransactionChain
public DOMStoreTransactionChain createTransactionChain()
-
newReadOnlyTransaction
public DOMStoreReadTransaction newReadOnlyTransaction()
-
newWriteOnlyTransaction
public DOMStoreWriteTransaction newWriteOnlyTransaction()
-
newReadWriteTransaction
public DOMStoreReadWriteTransaction newReadWriteTransaction()
-
-