akka.cluster.protobuf.msg
Class VectorClock
java.lang.Object
com.google.protobuf.GeneratedMessageLite
akka.cluster.protobuf.msg.VectorClock
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
public final class VectorClock
- extends com.google.protobuf.GeneratedMessageLite
- implements scala.Product, scala.Serializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
VectorClock
public VectorClock(scala.Option<java.lang.Object> timestamp,
scala.collection.immutable.Seq<VectorClock.Version> versions)
defaultInstance
public static VectorClock defaultInstance()
TIMESTAMP_FIELD_NUMBER
public static int TIMESTAMP_FIELD_NUMBER()
VERSIONS_FIELD_NUMBER
public static int VERSIONS_FIELD_NUMBER()
newBuilder
public static VectorClock newBuilder()
newBuilder
public static VectorClock newBuilder(VectorClock prototype)
getDefaultInstance
public static VectorClock getDefaultInstance()
timestamp
public scala.Option<java.lang.Object> timestamp()
versions
public scala.collection.immutable.Seq<VectorClock.Version> versions()
setTimestamp
public VectorClock setTimestamp(long _f)
setVersions
public VectorClock setVersions(int _i,
VectorClock.Version _v)
addVersions
public VectorClock addVersions(VectorClock.Version _f)
addAllVersions
public VectorClock addAllVersions(scala.collection.Seq<VectorClock.Version> _f)
addAllVersions
public VectorClock addAllVersions(scala.collection.TraversableOnce<VectorClock.Version> _f)
clearTimestamp
public VectorClock clearTimestamp()
clearVersions
public VectorClock clearVersions()
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
getSerializedSize
public int getSerializedSize()
mergeFrom
public VectorClock mergeFrom(com.google.protobuf.CodedInputStream in,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
mergeFrom
public VectorClock mergeFrom(VectorClock m)
getDefaultInstanceForType
public VectorClock getDefaultInstanceForType()
clear
public VectorClock clear()
isInitialized
public boolean isInitialized()
build
public VectorClock build()
buildPartial
public VectorClock buildPartial()
newBuilderForType
public VectorClock newBuilderForType()
toBuilder
public VectorClock toBuilder()