@Singleton public class BatchingUtils extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchingUtils.EntityType |
| Constructor and Description |
|---|
BatchingUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T extends org.opendaylight.yangtools.yang.binding.DataObject> |
delete(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
BatchingUtils.EntityType entityType) |
BlockingQueue<ActionableResource> |
getQueue(BatchingUtils.EntityType entityType) |
void |
init() |
<T extends org.opendaylight.yangtools.yang.binding.DataObject> |
write(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
T data,
BatchingUtils.EntityType entityType) |
@Inject public BatchingUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
@PostConstruct public void init()
@PreDestroy public void close()
close in interface AutoCloseablepublic <T extends org.opendaylight.yangtools.yang.binding.DataObject> void write(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
T data,
BatchingUtils.EntityType entityType)
public BlockingQueue<ActionableResource> getQueue(BatchingUtils.EntityType entityType)
public <T extends org.opendaylight.yangtools.yang.binding.DataObject> void delete(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
BatchingUtils.EntityType entityType)
Copyright © 2019 OpenDaylight. All rights reserved.