public class LegacyDOMStoreAdapter extends com.google.common.collect.ForwardingObject implements DOMStore, AutoCloseable
| Constructor and Description |
|---|
LegacyDOMStoreAdapter(DistributedDataStoreInterface delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DOMStoreTransactionChain |
createTransactionChain()
Creates new transaction chain.
|
protected DistributedDataStoreInterface |
delegate() |
DOMStoreReadTransaction |
newReadOnlyTransaction()
Creates a read only transaction.
|
DOMStoreReadWriteTransaction |
newReadWriteTransaction()
Creates Read-Write transaction.
|
DOMStoreWriteTransaction |
newWriteOnlyTransaction()
Creates write only transaction.
|
public LegacyDOMStoreAdapter(DistributedDataStoreInterface delegate)
public DOMStoreReadTransaction newReadOnlyTransaction()
DOMStoreTransactionFactoryCreates a new read-only transaction, which provides read access to snapshot of current state.
newReadOnlyTransaction in interface DOMStoreTransactionFactoryDOMStoreReadTransactionfor more information.public DOMStoreWriteTransaction newWriteOnlyTransaction()
DOMStoreTransactionFactorynewWriteOnlyTransaction in interface DOMStoreTransactionFactoryDOMStoreWriteTransactionfor more information.public DOMStoreReadWriteTransaction newReadWriteTransaction()
DOMStoreTransactionFactorynewReadWriteTransaction in interface DOMStoreTransactionFactoryDOMStoreWriteTransactionfor more information.public DOMStoreTransactionChain createTransactionChain()
DOMStoreTransactions in a chain need to be committed in sequence and each transaction should see the effects of previous transactions as if they happened.
createTransactionChain in interface DOMStorefor more information.public void close()
close in interface AutoCloseableprotected DistributedDataStoreInterface delegate()
delegate in class com.google.common.collect.ForwardingObjectCopyright © 2019 OpenDaylight. All rights reserved.