Package org.opendaylight.genius.itm.impl
Class ITMBatchingUtils
- java.lang.Object
-
- org.opendaylight.genius.itm.impl.ITMBatchingUtils
-
public final class ITMBatchingUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ITMBatchingUtils.EntityType
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
voiddelete(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, ITMBatchingUtils.EntityType entityType)
static org.opendaylight.mdsal.binding.api.DataBroker
getBroker()
static @NonNull java.util.concurrent.BlockingQueue<ActionableResource<?>>
getQueue(ITMBatchingUtils.EntityType entityType)
static void
registerWithBatchManager(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.Integer batchSize, java.lang.Integer batchInterval)
static void
setBroker(org.opendaylight.mdsal.binding.api.DataBroker broker)
static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
voidupdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, ITMBatchingUtils.EntityType entityType)
static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
voidupdateContainer(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, ITMBatchingUtils.EntityType entityType)
static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
voidwrite(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, ITMBatchingUtils.EntityType entityType)
-
-
-
Method Detail
-
getBroker
public static org.opendaylight.mdsal.binding.api.DataBroker getBroker()
-
setBroker
public static void setBroker(org.opendaylight.mdsal.binding.api.DataBroker broker)
-
registerWithBatchManager
public static void registerWithBatchManager(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.Integer batchSize, java.lang.Integer batchInterval)
-
update
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, ITMBatchingUtils.EntityType entityType)
-
updateContainer
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> void updateContainer(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, ITMBatchingUtils.EntityType entityType)
-
write
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> void write(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data, ITMBatchingUtils.EntityType entityType)
-
getQueue
public static @NonNull java.util.concurrent.BlockingQueue<ActionableResource<?>> getQueue(ITMBatchingUtils.EntityType entityType)
-
delete
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> void delete(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, ITMBatchingUtils.EntityType entityType)
-
-