Package com.eventstore.dbclient
Class Position
- java.lang.Object
-
- com.eventstore.dbclient.Position
-
-
Constructor Summary
Constructors Constructor Description Position(long commitUnsigned, long prepareUnsigned)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull Position other)booleanequals(java.lang.Object o)longgetCommitUnsigned()Returns the commit position.longgetPrepareUnsigned()Returns the prepare position.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getPrepareUnsigned
public long getPrepareUnsigned()
Returns the prepare position.
-
getCommitUnsigned
public long getCommitUnsigned()
Returns the commit position.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-