Class DefaultBatchHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultBatchHandler​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.common.api.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.mdsal.binding.api.WriteTransaction tx, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, java.lang.Object data, java.util.List<SubTransaction> transactionObjects)  
      void delete​(org.opendaylight.mdsal.binding.api.WriteTransaction tx, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, java.lang.Object data, java.util.List<SubTransaction> transactionObjects)  
      int getBatchInterval()  
      int getBatchSize()  
      org.opendaylight.mdsal.common.api.LogicalDatastoreType getDatastoreType()  
      org.opendaylight.mdsal.binding.api.DataBroker getResourceBroker()  
      void update​(org.opendaylight.mdsal.binding.api.WriteTransaction tx, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, java.lang.Object original, java.lang.Object update, java.util.List<SubTransaction> transactionObjects)  
      void updateContainer​(org.opendaylight.mdsal.binding.api.WriteTransaction tx, org.opendaylight.mdsal.common.api.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.mdsal.binding.api.DataBroker dataBroker,
                                   org.opendaylight.mdsal.common.api.LogicalDatastoreType dataStoreType,
                                   java.lang.Integer batchSize,
                                   java.lang.Integer batchInterval)
    • Method Detail

      • update

        public void update​(org.opendaylight.mdsal.binding.api.WriteTransaction tx,
                           org.opendaylight.mdsal.common.api.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
      • updateContainer

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

        public void create​(org.opendaylight.mdsal.binding.api.WriteTransaction tx,
                           org.opendaylight.mdsal.common.api.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.mdsal.binding.api.WriteTransaction tx,
                           org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType,
                           org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier,
                           java.lang.Object data,
                           java.util.List<SubTransaction> transactionObjects)
        Specified by:
        delete in interface ResourceHandler
      • getDatastoreType

        public org.opendaylight.mdsal.common.api.LogicalDatastoreType getDatastoreType()
        Specified by:
        getDatastoreType in interface ResourceHandler