akka.cluster
Class VectorClock.Timestamp

java.lang.Object
  extended by akka.cluster.VectorClock.Timestamp
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VectorClock.Timestamp>, scala.Equals, scala.math.Ordered<VectorClock.Timestamp>, scala.Product
Enclosing class:
VectorClock

public static final class VectorClock.Timestamp
extends java.lang.Object
implements scala.math.Ordered<VectorClock.Timestamp>, scala.Product, scala.Serializable

Timestamp representation a unique 'Ordered' timestamp.

See Also:
Serialized Form

Constructor Summary
VectorClock.Timestamp(long time)
           
 
Method Summary
 int compare(VectorClock.Timestamp other)
           
 VectorClock.Timestamp max(VectorClock.Timestamp other)
           
 long time()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface scala.math.Ordered
$greater, $greater$eq, $less, $less$eq, compareTo
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

VectorClock.Timestamp

public VectorClock.Timestamp(long time)
Method Detail

time

public long time()

max

public VectorClock.Timestamp max(VectorClock.Timestamp other)

compare

public int compare(VectorClock.Timestamp other)
Specified by:
compare in interface scala.math.Ordered<VectorClock.Timestamp>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object