Class AbstractDOMBroker
java.lang.Object
org.opendaylight.controller.cluster.databroker.AbstractDOMTransactionFactory<DOMStore>
org.opendaylight.controller.cluster.databroker.AbstractDOMBroker
- All Implemented Interfaces:
AutoCloseable,DOMDataBroker,DOMExtensibleService<DOMDataBroker,,DOMDataBrokerExtension> DOMService,DOMTransactionFactory,PingPongMergingDOMDataBroker
- Direct Known Subclasses:
ConcurrentDOMDataBroker
public abstract class AbstractDOMBroker
extends AbstractDOMTransactionFactory<DOMStore>
implements PingPongMergingDOMDataBroker
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDOMBroker(Map<LogicalDatastoreType, DOMStore> datastores) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected ObjectImplementations must return unique identifier for each and every call of this method.voidsetCloseable(AutoCloseable closeable) Methods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMTransactionFactory
checkNotClosed, commit, getTxFactories, newReadOnlyTransaction, newReadWriteTransaction, newWriteOnlyTransactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.mdsal.dom.api.DOMTransactionFactory
newReadOnlyTransaction, newReadWriteTransaction, newWriteOnlyTransactionMethods inherited from interface org.opendaylight.mdsal.dom.spi.PingPongMergingDOMDataBroker
createMergingTransactionChain
-
Constructor Details
-
AbstractDOMBroker
-
-
Method Details
-
setCloseable
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classAbstractDOMTransactionFactory<DOMStore>
-
newTransactionIdentifier
Description copied from class:AbstractDOMTransactionFactoryImplementations must return unique identifier for each and every call of this method.- Specified by:
newTransactionIdentifierin classAbstractDOMTransactionFactory<DOMStore>- Returns:
- new Unique transaction identifier.
-
getExtensions
- Specified by:
getExtensionsin interfaceDOMExtensibleService<DOMDataBroker,DOMDataBrokerExtension>
-
createTransactionChain
- Specified by:
createTransactionChainin interfaceDOMDataBroker
-