storage.support
Class InsertBeforeRecorder

java.lang.Object
  extended bystorage.support.InsertBeforeRecorder
All Implemented Interfaces:
Monitor

public class InsertBeforeRecorder
extends java.lang.Object
implements Monitor

A Monitor that creates OpInsertBefore operators when the value is changed.


Constructor Summary
InsertBeforeRecorder(StTxnAccum acc, NodeContent.Editor e, int i)
           
 
Method Summary
 void beginChange(Getter from)
          Record a the start of a change of value from prev.
 void endChange(Getter to)
          Record a the completion of a change of value to curr.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertBeforeRecorder

public InsertBeforeRecorder(StTxnAccum acc,
                            NodeContent.Editor e,
                            int i)
Method Detail

beginChange

public void beginChange(Getter from)
Description copied from interface: Monitor
Record a the start of a change of value from prev.

Specified by:
beginChange in interface Monitor

endChange

public void endChange(Getter to)
Description copied from interface: Monitor
Record a the completion of a change of value to curr.

Specified by:
endChange in interface Monitor