Constructor and Description |
---|
BasicVClock(byte[] value)
Create a BasicVclock.
|
BasicVClock(String vclock)
Create a BasicVclock from utf8 String.
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
Get the string representation of this VClock.
|
boolean |
equals(Object o) |
byte[] |
getBytes()
Get the bytes that make up this VClock.
|
int |
hashCode() |
public BasicVClock(byte[] value)
value
- the vector clock bytes. NOTE: copies the valueIllegalArgumentException
- if value
is nullpublic BasicVClock(String vclock)
vclock
- the vector clock.IllegalArgumentException
- if vclock
is nullCopyright © 2016. All rights reserved.