@Beta
public interface CDSDataTreeProducer
extends org.opendaylight.mdsal.dom.api.DOMDataTreeProducer
DOMDataTreeProducer
, which allows users access
to information about the backing shard.Modifier and Type | Method and Description |
---|---|
@NonNull CDSShardAccess |
getShardAccess(@NonNull org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier subtree)
Return a
CDSShardAccess handle. |
@NonNull CDSShardAccess getShardAccess(@NonNull org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier subtree)
CDSShardAccess
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.subtree
- One of the subtrees to which are currently under control of this producerNullPointerException
- 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.Copyright © 2019 OpenDaylight. All rights reserved.