class ClusterClock
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CLUSTER_TIME_KEY |
private BsonDocument |
clusterTime |
Constructor and Description |
---|
ClusterClock() |
Modifier and Type | Method and Description |
---|---|
void |
advance(BsonDocument other) |
BsonDocument |
getCurrent() |
BsonDocument |
greaterOf(BsonDocument other) |
private static final java.lang.String CLUSTER_TIME_KEY
private BsonDocument clusterTime
public BsonDocument getCurrent()
public void advance(BsonDocument other)
public BsonDocument greaterOf(BsonDocument other)