D - The type of the target data object in MD-SAL datastore.V - The type of the object to be returned by the task.public abstract class AbstractDataTask<D extends org.opendaylight.yangtools.yang.binding.DataObject,V> extends AbstractRpcTask<V>
TxTask used to update
a data object in the MD-SAL datastore.| Constructor and Description |
|---|
AbstractDataTask(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> path)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType |
getDatastoreType()
Return the target type of the MD-SAL datastore.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> |
getTargetPath()
Return the instance identifier that specifies the target data object
in the MD-SAL datastore.
|
needErrorLogaddBackgroundTask, execute, execute, getBackgroundTasks, getMaxRetry, onFailure, onSuccesspublic AbstractDataTask(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> path)
store - The target type of the MD-SAL datastore.path - The path to the target object.public final org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> getTargetPath()
InstanceIdentifier instance.public final org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType getDatastoreType()
LogicalDatastoreType instance.Copyright © 2018 OpenDaylight. All rights reserved.