Class LegacyDOMStoreAdapter

  • All Implemented Interfaces:
    AutoCloseable, org.opendaylight.controller.sal.core.spi.data.DOMStore, org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionFactory

    @Deprecated(forRemoval=true)
    public class LegacyDOMStoreAdapter
    extends com.google.common.collect.ForwardingObject
    implements org.opendaylight.controller.sal.core.spi.data.DOMStore, AutoCloseable
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adapter between the legacy controller API-based DOMStore and the mdsal API-based DOMStore.
    Author:
    Thomas Pantelis
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionChain createTransactionChain()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected DistributedDataStoreInterface delegate()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.opendaylight.controller.sal.core.spi.data.DOMStoreReadTransaction newReadOnlyTransaction()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.opendaylight.controller.sal.core.spi.data.DOMStoreReadWriteTransaction newReadWriteTransaction()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction newWriteOnlyTransaction()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class com.google.common.collect.ForwardingObject

        toString
    • Constructor Detail

      • LegacyDOMStoreAdapter

        public LegacyDOMStoreAdapter​(DistributedDataStoreInterface delegate)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • newReadOnlyTransaction

        public org.opendaylight.controller.sal.core.spi.data.DOMStoreReadTransaction newReadOnlyTransaction()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        newReadOnlyTransaction in interface org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionFactory
      • newWriteOnlyTransaction

        public org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction newWriteOnlyTransaction()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        newWriteOnlyTransaction in interface org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionFactory
      • newReadWriteTransaction

        public org.opendaylight.controller.sal.core.spi.data.DOMStoreReadWriteTransaction newReadWriteTransaction()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        newReadWriteTransaction in interface org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionFactory
      • createTransactionChain

        public org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionChain createTransactionChain()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        createTransactionChain in interface org.opendaylight.controller.sal.core.spi.data.DOMStore
      • close

        public void close()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        close in interface AutoCloseable
      • delegate

        protected DistributedDataStoreInterface delegate()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        delegate in class com.google.common.collect.ForwardingObject