Class AbstractReadWriteTransaction
- java.lang.Object
-
- org.opendaylight.controller.md.sal.binding.impl.AbstractWriteTransaction<DOMDataReadWriteTransaction>
-
- org.opendaylight.controller.md.sal.binding.impl.AbstractReadWriteTransaction
-
- All Implemented Interfaces:
Delegator<DOMDataReadWriteTransaction>
,Identifiable<Object>
@Deprecated(forRemoval=true) public class AbstractReadWriteTransaction extends AbstractWriteTransaction<DOMDataReadWriteTransaction>
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Summary
Constructors Constructor Description AbstractReadWriteTransaction(DOMDataReadWriteTransaction delegate, BindingToNormalizedNodeCodec codec)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CheckedFuture<Boolean,ReadFailedException>
doExists(DOMDataReadTransaction readTx, LogicalDatastoreType store, InstanceIdentifier<?> path)
Deprecated, for removal: This API element is subject to removal in a future version.protected <D extends DataObject>
CheckedFuture<Optional<D>,ReadFailedException>doRead(DOMDataReadTransaction readTx, LogicalDatastoreType store, InstanceIdentifier<D> path)
Deprecated, for removal: This API element is subject to removal in a future version.protected void
ensureParentsByMerge(LogicalDatastoreType store, YangInstanceIdentifier normalizedPath, InstanceIdentifier<?> path)
Deprecated, for removal: This API element is subject to removal in a future version.Subclasses of this class are required to implement creation of parent nodes based on behaviour of their underlying transaction.protected BindingToNormalizedNodeCodec
getCodec()
Deprecated, for removal: This API element is subject to removal in a future version.T
getDelegate()
Deprecated, for removal: This API element is subject to removal in a future version.protected <S extends AsyncTransaction<YangInstanceIdentifier,NormalizedNode<?,?>>>
SgetDelegateChecked(Class<S> txType)
Deprecated, for removal: This API element is subject to removal in a future version.Object
getIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
AbstractReadWriteTransaction
public AbstractReadWriteTransaction(DOMDataReadWriteTransaction delegate, BindingToNormalizedNodeCodec codec)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
ensureParentsByMerge
protected final void ensureParentsByMerge(LogicalDatastoreType store, YangInstanceIdentifier normalizedPath, InstanceIdentifier<?> path)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractWriteTransaction
Subclasses of this class are required to implement creation of parent nodes based on behaviour of their underlying transaction.- Specified by:
ensureParentsByMerge
in classAbstractWriteTransaction<DOMDataReadWriteTransaction>
-
getIdentifier
public final Object getIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdentifier
in interfaceIdentifiable<T extends AsyncTransaction<YangInstanceIdentifier,NormalizedNode<?,?>>>
-
getDelegate
public final T getDelegate()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDelegate
in interfaceDelegator<T extends AsyncTransaction<YangInstanceIdentifier,NormalizedNode<?,?>>>
-
getDelegateChecked
protected final <S extends AsyncTransaction<YangInstanceIdentifier,NormalizedNode<?,?>>> S getDelegateChecked(Class<S> txType)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCodec
protected final BindingToNormalizedNodeCodec getCodec()
Deprecated, for removal: This API element is subject to removal in a future version.
-
doRead
protected final <D extends DataObject> CheckedFuture<Optional<D>,ReadFailedException> doRead(DOMDataReadTransaction readTx, LogicalDatastoreType store, InstanceIdentifier<D> path)
Deprecated, for removal: This API element is subject to removal in a future version.
-
doExists
protected final CheckedFuture<Boolean,ReadFailedException> doExists(DOMDataReadTransaction readTx, LogicalDatastoreType store, InstanceIdentifier<?> path)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-