Uses of Class
org.apache.jackrabbit.oak.stats.Clock
-
Packages that use Clock Package Description org.apache.jackrabbit.oak.jcr.delegate This package contains the delegates for the various JCR API entities.org.apache.jackrabbit.oak.jcr.session org.apache.jackrabbit.oak.jcr.version org.apache.jackrabbit.oak.plugins.blob org.apache.jackrabbit.oak.plugins.document org.apache.jackrabbit.oak.plugins.document.mongo org.apache.jackrabbit.oak.plugins.document.rdb Implementations ofDocumentStore
andBlobStore
for relational databases.org.apache.jackrabbit.oak.plugins.document.util org.apache.jackrabbit.oak.segment.file org.apache.jackrabbit.oak.stats -
-
Uses of Clock in org.apache.jackrabbit.oak.jcr.delegate
Constructors in org.apache.jackrabbit.oak.jcr.delegate with parameters of type Clock Constructor Description SessionDelegate(@NotNull ContentSession contentSession, @NotNull SecurityProvider securityProvider, @NotNull RefreshStrategy refreshStrategy, @NotNull java.lang.ThreadLocal<java.lang.Long> threadSaveCount, @NotNull StatisticManager statisticManager, @NotNull Clock clock)
Create a new session delegate for aContentSession
. -
Uses of Clock in org.apache.jackrabbit.oak.jcr.session
Constructors in org.apache.jackrabbit.oak.jcr.session with parameters of type Clock Constructor Description Counters(Clock clock)
SessionStats(java.lang.String sessionId, AuthInfo authInfo, Clock clock, RefreshStrategy refreshStrategy, SessionDelegate sessionDelegate, StatisticManager statisticManager)
-
Uses of Clock in org.apache.jackrabbit.oak.jcr.version
Constructors in org.apache.jackrabbit.oak.jcr.version with parameters of type Clock Constructor Description FrozenNodeLogger(@NotNull Clock clock, @NotNull Whiteboard whiteboard)
-
Uses of Clock in org.apache.jackrabbit.oak.plugins.blob
Methods in org.apache.jackrabbit.oak.plugins.blob with parameters of type Clock Modifier and Type Method Description void
MarkSweepGarbageCollector. setClock(Clock clock)
-
Uses of Clock in org.apache.jackrabbit.oak.plugins.document
Fields in org.apache.jackrabbit.oak.plugins.document declared as Clock Modifier and Type Field Description protected Clock
MissingLastRevSeeker. clock
Methods in org.apache.jackrabbit.oak.plugins.document that return Clock Modifier and Type Method Description @NotNull Clock
DocumentNodeStore. getClock()
Clock
DocumentNodeStoreBuilder. getClock()
@NotNull Clock
RevisionContext. getClock()
@NotNull Clock
RevisionContextWrapper. getClock()
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type Clock Modifier and Type Method Description T
DocumentNodeStoreBuilder. clock(Clock clock)
long
VersionGCSupport. getOldestDeletedOnceTimestamp(Clock clock, long precisionMs)
Retrieve the time of the oldest document marked as 'deletedOnce'.Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type Clock Constructor Description MissingLastRevSeeker(DocumentStore store, Clock clock)
VersionGCRecommendations(long maxRevisionAgeMs, org.apache.jackrabbit.oak.plugins.document.Checkpoints checkpoints, Clock clock, VersionGCSupport vgc, VersionGCOptions options, GCMonitor gcMonitor)
With the given maximum age of revisions to keep (earliest time in the past to collect), the desired precision in which times shall be sliced and the given limit on the number of collected documents in one run, calculate if gc shall run at all (ignoreDueToCheckPoint) in which time interval documents shall be collected (scope) if collection should fail if it reaches maxCollect documents, maxCollect will specify the limit or be 0 if no limit shall be enforced. After a run, recommendations evaluate the result of the gc to update its persisted recommendations for future runs. -
Uses of Clock in org.apache.jackrabbit.oak.plugins.document.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo with parameters of type Clock Modifier and Type Method Description long
MongoVersionGCSupport. getOldestDeletedOnceTimestamp(Clock clock, long precisionMs)
Constructors in org.apache.jackrabbit.oak.plugins.document.mongo with parameters of type Clock Constructor Description MongoMissingLastRevSeeker(MongoDocumentStore store, Clock clock)
-
Uses of Clock in org.apache.jackrabbit.oak.plugins.document.rdb
Methods in org.apache.jackrabbit.oak.plugins.document.rdb with parameters of type Clock Modifier and Type Method Description long
RDBVersionGCSupport. getOldestDeletedOnceTimestamp(Clock clock, long precisionMs)
Constructors in org.apache.jackrabbit.oak.plugins.document.rdb with parameters of type Clock Constructor Description RDBMissingLastRevSeeker(RDBDocumentStore store, Clock clock)
-
Uses of Clock in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type Clock Modifier and Type Method Description static void
Utils. alignWithExternalRevisions(@NotNull NodeDocument rootDoc, @NotNull Clock clock, int clusterId, long warnThresholdMillis)
Makes sure the current time is after the most recent external revision timestamp in the _lastRev map of the given root document.static void
Utils. checkRevisionAge(DocumentStore store, ClusterNodeInfo info, Clock clock)
Check the revision age on the root document for the given cluster node info. -
Uses of Clock in org.apache.jackrabbit.oak.segment.file
Constructors in org.apache.jackrabbit.oak.segment.file with parameters of type Clock Constructor Description FileStoreGCMonitor(@NotNull Clock clock)
-
Uses of Clock in org.apache.jackrabbit.oak.stats
Subclasses of Clock in org.apache.jackrabbit.oak.stats Modifier and Type Class Description static class
Clock.Fast
Fast clock implementation whoseClock.Fast.getTime()
method returns instantaneously thanks to a background task that takes care of the actual time-keeping work.static class
Clock.Virtual
A virtual clock that has no connection to the actual system time.Fields in org.apache.jackrabbit.oak.stats declared as Clock Modifier and Type Field Description static Clock
Clock. ACCURATE
Accurate clock implementation that uses interval timings from theSystem.nanoTime()
method to calculate an as accurate as possible time based on occasional calls toSystem.currentTimeMillis()
to prevent clock drift.static Clock
Clock. SIMPLE
Simple clock implementation based onSystem.currentTimeMillis()
, which is known to be rather slow on some platforms.
-