storage.support
Class SetValueRecorder

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

public class SetValueRecorder
extends java.lang.Object
implements Monitor

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


Constructor Summary
SetValueRecorder(StTxnAccum acc, NodeContent.Editor e, java.lang.Object p)
           
 
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

SetValueRecorder

public SetValueRecorder(StTxnAccum acc,
                        NodeContent.Editor e,
                        java.lang.Object p)
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