public class ClientBackedDataStore extends AbstractDataStore
Constructor and Description |
---|
ClientBackedDataStore(akka.actor.ActorSystem actorSystem,
ClusterWrapper cluster,
Configuration configuration,
DatastoreContextFactory datastoreContextFactory,
DatastoreSnapshot restoreFromSnapshot) |
Modifier and Type | Method and Description |
---|---|
DOMStoreTransactionChain |
createTransactionChain()
Creates new transaction chain.
|
DOMStoreReadTransaction |
newReadOnlyTransaction()
Creates a read only transaction
|
DOMStoreReadWriteTransaction |
newReadWriteTransaction()
Creates Read-Write transaction
|
DOMStoreWriteTransaction |
newWriteOnlyTransaction()
Creates write only transaction
|
close, getActorContext, getClient, getWaitTillReadyCountDownLatch, onDatastoreContextUpdated, onGlobalContextUpdated, registerChangeListener, registerCommitCohort, registerProxyListener, registerShardConfigListener, registerTreeChangeListener, setCloseable, waitTillReady
public ClientBackedDataStore(akka.actor.ActorSystem actorSystem, ClusterWrapper cluster, Configuration configuration, DatastoreContextFactory datastoreContextFactory, DatastoreSnapshot restoreFromSnapshot)
public DOMStoreTransactionChain createTransactionChain()
DOMStore
DOMStoreTransactionChain
for more information.public DOMStoreReadTransaction newReadOnlyTransaction()
DOMStoreTransactionFactory
Creates a new read-only transaction, which provides read access to
snapshot of current state.
See DOMStoreReadTransaction
for more information.
DOMStoreReadTransaction
public DOMStoreWriteTransaction newWriteOnlyTransaction()
DOMStoreTransactionFactory
See DOMStoreWriteTransaction
for more information.
DOMStoreWriteTransaction
public DOMStoreReadWriteTransaction newReadWriteTransaction()
DOMStoreTransactionFactory
See DOMStoreReadWriteTransaction
for more information.
DOMStoreWriteTransaction
Copyright © 2019 OpenDaylight. All rights reserved.