Class BatchingUtils
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.renderer.ovs.utilities.BatchingUtils
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@Singleton public class BatchingUtils extends java.lang.Object implements java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchingUtils.EntityType
-
Constructor Summary
Constructors Constructor Description BatchingUtils(org.opendaylight.controller.md.sal.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>
voiddelete(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>
voidwrite(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, BatchingUtils.EntityType entityType)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.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)
-
getQueue
public java.util.concurrent.BlockingQueue<ActionableResource> getQueue(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)
-
-