import org.opendaylight.yangtools.yang.binding.DataObject;
/**
- *
* Caching variant of Binding to Normalized Node codec.
*
* Caching may introduce performance penalty to serialization / deserialization
* but may decrease use of heap for repetitive objects.
*
* @param <T> Binding representtion of data
- *
*/
@Beta
public interface BindingNormalizedNodeCachingCodec<T extends DataObject> extends BindingNormalizedNodeCodec<T>, AutoCloseable {
-
/**
- *
* Invoking close will invalidate this codec and any of its child
* codecs and will invalidate cache.
*
* Any subsequent calls to this codec will fail with {@link IllegalStateException}
* thrown.
- *
*/
@Override
- public void close();
+ void close();
}