com.cloudtran.coherence.txb
Class DefaultTimestampGenerator

java.lang.Object
  extended by com.cloudtran.coherence.txb.DefaultTimestampGenerator
All Implemented Interfaces:
TimestampGenerator

public class DefaultTimestampGenerator
extends Object
implements TimestampGenerator

This is the default timestamp generator, used by MVCC.

It calls the primary isolator to get the start and commit times for MVCC transactions.


Constructor Summary
DefaultTimestampGenerator()
           
 
Method Summary
 long getTime()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTimestampGenerator

public DefaultTimestampGenerator()
Method Detail

getTime

public long getTime()
Specified by:
getTime in interface TimestampGenerator