Class BatchingUtils

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    @Singleton
    public class BatchingUtils
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      BatchingUtils​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      <T extends org.opendaylight.yangtools.yang.binding.DataObject>
      void
      delete​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, BatchingUtils.EntityType entityType)  
      java.util.concurrent.BlockingQueue<ActionableResource<?>> getQueue​(BatchingUtils.EntityType entityType)  
      void init()  
      <T extends org.opendaylight.yangtools.yang.binding.DataObject>
      void
      write​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, BatchingUtils.EntityType entityType)  
      • Methods inherited from class java.lang.Object

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

      • BatchingUtils

        @Inject
        public BatchingUtils​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • close

        @PreDestroy
        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • write

        public <T extends org.opendaylight.yangtools.yang.binding.DataObject> void write​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
                                                                                         T data,
                                                                                         BatchingUtils.EntityType entityType)
      • delete

        public <T extends org.opendaylight.yangtools.yang.binding.DataObject> void delete​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
                                                                                          BatchingUtils.EntityType entityType)