D - - type of tree node@Beta public class NonCachingCodec<D extends TreeNode> extends Object implements BindingNormalizedNodeCachingCodec<D>
| Constructor and Description |
|---|
NonCachingCodec(BindingNormalizedNodeCodec<D> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Invoking close will invalidate this codec and any of its child codecs and
will invalidate cache.
|
D |
deserialize(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Converts from Normalized Node to Binding representation of data.
|
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
serialize(D data)
Converts from Binding to Normalized Node representation of data.
|
public NonCachingCodec(BindingNormalizedNodeCodec<D> delegate)
@Nonnull public D deserialize(@Nonnull org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
BindingNormalizedNodeCodecdeserialize in interface BindingNormalizedNodeCodec<D extends TreeNode>data - - Normalized Node representation of data@Nonnull public org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> serialize(@Nonnull D data)
BindingNormalizedNodeCodecserialize in interface BindingNormalizedNodeCodec<D extends TreeNode>data - - Binding representation of datapublic void close()
BindingNormalizedNodeCachingCodec
Any subsequent calls to this codec will fail with
IllegalStateException thrown.
close in interface AutoCloseableclose in interface BindingNormalizedNodeCachingCodec<D extends TreeNode>Copyright © 2019 OpenDaylight. All rights reserved.