public class StreamOffset extends Object
| Modifier and Type | Field and Description |
|---|---|
static StreamOffset |
ZERO |
| Constructor and Description |
|---|
StreamOffset(long vbuuid,
long seqno,
SnapshotMarker snapshot,
long collectionsManifestUid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCollectionsManifestUid() |
long |
getSeqno()
NOTE: Sequence numbers are unsigned, and must be compared using
Long.compareUnsigned(long, long) |
SnapshotMarker |
getSnapshot() |
long |
getVbuuid() |
int |
hashCode() |
String |
toString() |
public static final StreamOffset ZERO
public StreamOffset(long vbuuid,
long seqno,
SnapshotMarker snapshot,
long collectionsManifestUid)
collectionsManifestUid - pass zero if client is not collections-aware or if no UID is available.public long getVbuuid()
public long getSeqno()
Long.compareUnsigned(long, long)public SnapshotMarker getSnapshot()
public long getCollectionsManifestUid()
Copyright © 2021 Couchbase, Inc.. All rights reserved.