Class DefaultBatchHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultBatchHandler​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType dataStoreType, java.lang.Integer batchSize, java.lang.Integer batchInterval)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, java.lang.Object data, java.util.List<SubTransaction> transactionObjects)  
      void delete​(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, java.lang.Object data, java.util.List<SubTransaction> transactionObjects)  
      int getBatchInterval()  
      int getBatchSize()  
      org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType getDatastoreType()  
      org.opendaylight.controller.md.sal.binding.api.DataBroker getResourceBroker()  
      void update​(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, java.lang.Object original, java.lang.Object update, java.util.List<SubTransaction> transactionObjects)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultBatchHandler

        public DefaultBatchHandler​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                   org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType dataStoreType,
                                   java.lang.Integer batchSize,
                                   java.lang.Integer batchInterval)
    • Method Detail

      • update

        public void update​(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx,
                           org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType,
                           org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier,
                           java.lang.Object original,
                           java.lang.Object update,
                           java.util.List<SubTransaction> transactionObjects)
        Specified by:
        update in interface ResourceHandler
      • create

        public void create​(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx,
                           org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType,
                           org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier,
                           java.lang.Object data,
                           java.util.List<SubTransaction> transactionObjects)
        Specified by:
        create in interface ResourceHandler
      • delete

        public void delete​(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx,
                           org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType,
                           org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier,
                           java.lang.Object data,
                           java.util.List<SubTransaction> transactionObjects)
        Specified by:
        delete in interface ResourceHandler
      • getResourceBroker

        public org.opendaylight.controller.md.sal.binding.api.DataBroker getResourceBroker()
        Specified by:
        getResourceBroker in interface ResourceHandler
      • getDatastoreType

        public org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType getDatastoreType()
        Specified by:
        getDatastoreType in interface ResourceHandler