Use soft values in ValueTypeCodec
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / api / BindingNormalizedNodeCachingCodec.java
index be388ab9ae0085c7e9447c61b2ea30d30995ed54..88bbb46efaefdac4580ad49045099b89645e55e0 100644 (file)
@@ -8,26 +8,20 @@
 package org.opendaylight.mdsal.binding.dom.codec.api;
 
 import com.google.common.annotations.Beta;
-import org.opendaylight.yangtools.yang.binding.DataObject;
+import org.opendaylight.yangtools.yang.binding.BindingObject;
 
 /**
- * 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.
+ * 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.
  *
  * @param <T> Binding representtion of data
  */
 @Beta
-public interface BindingNormalizedNodeCachingCodec<T extends DataObject> extends
-        org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeCachingCodec<T>,
-        BindingNormalizedNodeCodec<T>, AutoCloseable {
+public interface BindingNormalizedNodeCachingCodec<T extends BindingObject> 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.
+     * 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
     void close();