public interface DOMStoreTransactionFactory
Factory provides method to construct read-only, read-write and write-only
transactions, which may be used to retrieve and modify stored information in
Underlying DOMStore or DOMStoreTransactionChain.
See DOMStore or DOMStoreTransactionChain for concrete
variations of this factory.
Note: This interface is used only to define common functionality
between DOMStore and DOMStoreTransactionChain, which
further specify behaviour of returned transactions.
| Modifier and Type | Method and Description |
|---|---|
DOMStoreReadTransaction |
newReadOnlyTransaction()
Creates a read only transaction.
|
DOMStoreReadWriteTransaction |
newReadWriteTransaction()
Creates Read-Write transaction.
|
DOMStoreWriteTransaction |
newWriteOnlyTransaction()
Creates write only transaction.
|
DOMStoreReadTransaction newReadOnlyTransaction()
Creates a new read-only transaction, which provides read access to snapshot of current state.
See DOMStoreReadTransaction for more information.
DOMStoreReadTransactionIllegalStateException - If state of factory prevents allocating new transaction.DOMStoreWriteTransaction newWriteOnlyTransaction()
See DOMStoreWriteTransaction for more information.
DOMStoreWriteTransactionIllegalStateException - If state of factory prevents allocating new transaction.DOMStoreReadWriteTransaction newReadWriteTransaction()
See DOMStoreReadWriteTransaction for more information.
DOMStoreWriteTransactionIllegalStateException - If state of factory prevents allocating new transaction.Copyright © 2019 OpenDaylight. All rights reserved.