/*
 * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden
 * 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
 *
 * Contributors:
 * Mateusz Parzonka - initial API and implementation
 */
package prm4j.indexing.realtime;

import java.lang.ref.WeakReference;

/**
 * A binding used by optimized indexing strategies.
 */
public interface LowLevelBinding extends prm4j.api.Binding {

    /**
     * Releases all resources used in the indexing data structure and/or notifies monitors about unreachability of the
     * parameter object. Amount of released resources can vary strongly with the implementation.
     */
    void release();

    /**
     * Register a map where this binding is used.
     *
     * @param mapReference
     */
    void registerNode(WeakReference<Node> nodeReference); // TODO resource registration

    boolean isDisabled();

    void setDisabled(boolean disable);

    long getTimestamp();

    void setTimestamp(long timestamp);

}

@@ -442,16 +442,60 @@
 rence;%0A%0A
+import prm4j.indexing.map.MinimalMapEntry;%0A%0A
 /**%0A * A
@@ -604,17 +604,58 @@
 .Binding
- 
+, MinimalMapEntry%3CObject, LowLevelBinding%3E
 %7B%0A%0A    /

Fix hierarchy