/*
 * 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;

import prm4j.indexing.map.MinimalMapEntry;

/**
 * A binding used by optimized indexing strategies.
 */
public interface LowLevelBinding extends prm4j.api.Binding, MinimalMapEntry<Object, LowLevelBinding>{

    /**
     * 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);

}

@@ -934,19 +934,24 @@
 a map wh
-ere
+ich uses
  this bi
@@ -960,15 +960,14 @@
 ing 
-is used
+as key
 .%0A  
@@ -989,20 +989,15 @@
 ram 
-mapReference
+nodeRef
 %0A   
@@ -1054,46 +1054,10 @@
 eRef
-erence); // TODO resource registration
+);
 %0A%0A  

Remove todo and add comment