D
- the type of operating dataR
- the call back future for write or merge operationspublic interface UscShardService<D extends org.opendaylight.yangtools.yang.binding.DataObject,R>
Modifier and Type | Method and Description |
---|---|
void |
delete(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id)
delete the data object specified by the id
|
void |
merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id,
D data)
merge the children data with previous exists same data which has same
identifier
|
void |
merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id,
D data,
com.google.common.util.concurrent.FutureCallback<R> callback)
merge the children data with callback future
|
D |
read(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id)
read the Shard data which specified by the InstanceIdentifier(id) with
LogicalDatastoreType(type) Note: the return data is the same type(Type D)
of InstanceIdentifier
|
void |
write(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id,
D data)
write the Shard data(data) which specified by the InstanceIdentifier(id)
with LogicalDatastoreType(type)
|
void |
write(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id,
D data,
com.google.common.util.concurrent.FutureCallback<R> callback)
write the Shard data(data) with callback future
|
D read(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id)
type
- LogicalDatastoreType.OPERATIONAL(the data is the state
result), LogicalDatastoreType.CONFIGURATION(the data is the
state target)id
- the data identifiervoid write(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id, D data)
type
- LogicalDatastoreType.OPERATIONAL(the data is the state
result), LogicalDatastoreType.CONFIGURATION(the data is the
state target)id
- the data identifierdata
- the current writing datavoid write(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id, D data, com.google.common.util.concurrent.FutureCallback<R> callback)
type
- LogicalDatastoreType.OPERATIONAL(the data is the state
result), LogicalDatastoreType.CONFIGURATION(the data is the
state target)id
- the data identifierdata
- the current writing datacallback
- callback class which will be called after the merge operation
for dealing with the operation resultvoid merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id, D data)
type
- LogicalDatastoreType.OPERATIONAL(the data is the state
result), LogicalDatastoreType.CONFIGURATION(the data is the
state target)id
- the data identifierdata
- the current merging source datavoid merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id, D data, com.google.common.util.concurrent.FutureCallback<R> callback)
type
- LogicalDatastoreType.OPERATIONAL(the data is the state
result), LogicalDatastoreType.CONFIGURATION(the data is the
state target)id
- the data identifierdata
- the current merging source datacallback
- callback class which will be called after the merge operation
for dealing with the operation resultvoid delete(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> id)
type
- LogicalDatastoreType.OPERATIONAL(the data is the state
result), LogicalDatastoreType.CONFIGURATION(the data is the
state target)id
- specified identifier of data objectCopyright © 2019 OpenDaylight. All rights reserved.