Interface CDSDataTreeProducer
-
- All Superinterfaces:
AutoCloseable
,DOMDataTreeProducer
,DOMDataTreeProducerFactory
@Beta @Deprecated(forRemoval=true) public interface CDSDataTreeProducer extends DOMDataTreeProducer
Deprecated, for removal: This API element is subject to removal in a future version.An extension toDOMDataTreeProducer
, which allows users access to information about the backing shard.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NonNull CDSShardAccess
getShardAccess(@NonNull DOMDataTreeIdentifier subtree)
Deprecated, for removal: This API element is subject to removal in a future version.Return aCDSShardAccess
handle.-
Methods inherited from interface org.opendaylight.mdsal.dom.api.DOMDataTreeProducer
close, createProducer, createTransaction
-
-
-
-
Method Detail
-
getShardAccess
@NonNull CDSShardAccess getShardAccess(@NonNull DOMDataTreeIdentifier subtree)
Deprecated, for removal: This API element is subject to removal in a future version.Return aCDSShardAccess
handle. This handle will remain valid as long as this producer is operational. Returned handle can be accessed independently from this producer and is not subject to the usual access restrictions imposed on DOMDataTreeProducer state.- Parameters:
subtree
- One of the subtrees to which are currently under control of this producer- Returns:
- A shard access handle.
- Throws:
NullPointerException
- when subtree is nullIllegalArgumentException
- if the specified subtree is not controlled by this producerIllegalStateException
- if this producer is no longer operationalIllegalThreadStateException
- if the access rules to this producer are violated, for example if this producer is bound and this thread is currently not executing from a listener context.
-
-