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()
DOMStoreTransactionFactory
Creates a new read-only transaction, which provides read access to snapshot of current state.
newReadOnlyTransaction
in interface DOMStoreTransactionFactory
DOMStoreReadTransaction
for more information.
public DOMStoreWriteTransaction newWriteOnlyTransaction()
DOMStoreTransactionFactory
newWriteOnlyTransaction
in interface DOMStoreTransactionFactory
DOMStoreWriteTransaction
for more information.
public DOMStoreReadWriteTransaction newReadWriteTransaction()
DOMStoreTransactionFactory
newReadWriteTransaction
in interface DOMStoreTransactionFactory
DOMStoreWriteTransaction
for more information.
public DOMStoreTransactionChain createTransactionChain()
DOMStore
Transactions 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 DOMStore
for more information.
public void close()
close
in interface AutoCloseable
protected DistributedDataStoreInterface delegate()
delegate
in class com.google.common.collect.ForwardingObject
Copyright © 2019 OpenDaylight. All rights reserved.