public class MongoMissingLastRevSeeker extends MissingLastRevSeeker
clock, ROOT_PATH| Constructor and Description |
|---|
MongoMissingLastRevSeeker(MongoDocumentStore store,
org.apache.jackrabbit.oak.stats.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull CloseableIterable<NodeDocument> |
getCandidates(long startTime)
Get the candidates with modified time greater than or equal the specified
startTime in milliseconds since the start of the epoch. |
boolean |
isRecoveryNeeded()
Returns
true if any of the cluster node info documents satisfies
ClusterNodeInfoDocument.isRecoveryNeeded(long) where the passed
timestamp is the current time. |
acquireRecoveryLock, getAllClusters, getClusterNodeInfo, getRoot, isRecoveryNeeded, releaseRecoveryLockpublic MongoMissingLastRevSeeker(MongoDocumentStore store, org.apache.jackrabbit.oak.stats.Clock clock)
@NotNull public @NotNull CloseableIterable<NodeDocument> getCandidates(long startTime)
MissingLastRevSeekerstartTime in milliseconds since the start of the epoch.getCandidates in class MissingLastRevSeekerstartTime - the start time in milliseconds.public boolean isRecoveryNeeded()
MissingLastRevSeekertrue if any of the cluster node info documents satisfies
ClusterNodeInfoDocument.isRecoveryNeeded(long) where the passed
timestamp is the current time.isRecoveryNeeded in class MissingLastRevSeekertrue if any of the cluster nodes need recovery,
false otherwise.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.