Remove binding spec2
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / api / BindingNormalizedNodeCachingCodec.java
diff --git a/binding2/mdsal-binding2-dom-codec/src/main/java/org/opendaylight/mdsal/binding/javav2/dom/codec/api/BindingNormalizedNodeCachingCodec.java b/binding2/mdsal-binding2-dom-codec/src/main/java/org/opendaylight/mdsal/binding/javav2/dom/codec/api/BindingNormalizedNodeCachingCodec.java
deleted file mode 100644 (file)
index 60aa0dc..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.mdsal.binding.javav2.dom.codec.api;
-
-import com.google.common.annotations.Beta;
-import org.opendaylight.mdsal.binding.javav2.spec.base.TreeNode;
-
-/**
- * Caching variant of Binding to Normalized Node codec.
- *
- * <p>
- * Caching may introduce performance penalty to serialization / deserialization
- * but may decrease use of heap for repetitive objects.
- *
- * @param <T>
- *            - Binding representation of data
- */
-@Beta
-public interface BindingNormalizedNodeCachingCodec<T extends TreeNode>
-        extends BindingNormalizedNodeCodec<T>, AutoCloseable {
-
-    /**
-     * Invoking close will invalidate this codec and any of its child codecs and
-     * will invalidate cache.
-     *
-     * <p>
-     * Any subsequent calls to this codec will fail with
-     * {@link IllegalStateException} thrown.
-     */
-    @Override
-    void close();
-}
-