use of org.opendaylight.genius.utils.batching.ActionableResource in project netvirt by opendaylight.
the class BgpUtil method update.
public <T extends DataObject> void update(final InstanceIdentifier<T> path, final T data) {
ActionableResource actResource = new ActionableResourceImpl(path.toString());
actResource.setAction(ActionableResource.UPDATE);
actResource.setInstanceIdentifier(path);
actResource.setInstance(data);
bgpResourcesBufferQ.add(actResource);
}
Aggregations