Interface BindingNormalizedNodeCachingCodec<T extends BindingObject>
-
- Type Parameters:
T
- Binding representtion of data
- All Superinterfaces:
AutoCloseable
,BindingNormalizedNodeCodec<T>
@Beta public interface BindingNormalizedNodeCachingCodec<T extends BindingObject> extends BindingNormalizedNodeCodec<T>, AutoCloseable
Caching variant of Binding to Normalized Node codec. Caching may introduce performance penalty to serialization and deserialization but may decrease use of heap for repetitive objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Invoking close will invalidate this codec and any of its child codecs and will invalidate cache.-
Methods inherited from interface org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeCodec
deserialize, serialize
-
-
-
-
Method Detail
-
close
void close()
Invoking close will invalidate this codec and any of its child codecs and will invalidate cache. Any subsequent calls to this codec will fail withIllegalStateException
thrown.- Specified by:
close
in interfaceAutoCloseable
-
-