Uses of Interface
org.apache.jackrabbit.oak.spi.gc.GCMonitor
-
Packages that use GCMonitor Package Description org.apache.jackrabbit.oak.plugins.document org.apache.jackrabbit.oak.segment org.apache.jackrabbit.oak.segment.file org.apache.jackrabbit.oak.spi.gc -
-
Uses of GCMonitor in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document that return GCMonitor Modifier and Type Method Description GCMonitor
DocumentNodeStoreBuilder. getGCMonitor()
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type GCMonitor Modifier and Type Method Description T
DocumentNodeStoreBuilder. setGCMonitor(@NotNull GCMonitor gcMonitor)
void
VersionGarbageCollector. setGCMonitor(@NotNull GCMonitor gcMonitor)
Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type GCMonitor Constructor Description 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 GCMonitor in org.apache.jackrabbit.oak.segment
Fields in org.apache.jackrabbit.oak.segment declared as GCMonitor Modifier and Type Field Description protected @NotNull GCMonitor
CheckpointCompactor. gcListener
Constructors in org.apache.jackrabbit.oak.segment with parameters of type GCMonitor Constructor Description CheckpointCompactor(@NotNull GCMonitor gcListener, @NotNull CompactionWriter writer, @NotNull GCNodeWriteMonitor compactionMonitor)
Create a new instance based on the passed arguments.ParallelCompactor(@NotNull GCMonitor gcListener, @NotNull CompactionWriter writer, @NotNull GCNodeWriteMonitor compactionMonitor, int nThreads)
Create a new instance based on the passed arguments. -
Uses of GCMonitor in org.apache.jackrabbit.oak.segment.file
Classes in org.apache.jackrabbit.oak.segment.file that implement GCMonitor Modifier and Type Class Description class
FileStoreGCMonitor
GCMonitor
implementation providing the file store gc status.Methods in org.apache.jackrabbit.oak.segment.file with parameters of type GCMonitor Modifier and Type Method Description @NotNull FileStoreBuilder
FileStoreBuilder. withGCMonitor(@NotNull GCMonitor gcMonitor)
GCMonitor
for monitoring this files store's gc process.Constructors in org.apache.jackrabbit.oak.segment.file with parameters of type GCMonitor Constructor Description GCNodeWriteMonitor(long gcProgressLog, @NotNull GCMonitor gcMonitor)
-
Uses of GCMonitor in org.apache.jackrabbit.oak.spi.gc
Classes in org.apache.jackrabbit.oak.spi.gc that implement GCMonitor Modifier and Type Class Description class
DelegatingGCMonitor
ThisGCMonitor
implementation simply delegates all its call to registered monitors.static class
GCMonitor.Empty
class
GCMonitorTracker
ThisGCMonitor
implementation tracksGCMonitor
instances registered to theWhiteboard
delegating all calls to to those.class
LoggingGCMonitor
ThisGCMonitor
implementation logs all calls to itsLoggingGCMonitor.info(String, Object...)
,LoggingGCMonitor.warn(String, Object...)
,LoggingGCMonitor.error(String, Exception)
andLoggingGCMonitor.skipped(String, Object...)
methods at the respective levels using the logger instance passed to the constructor.Fields in org.apache.jackrabbit.oak.spi.gc declared as GCMonitor Modifier and Type Field Description static GCMonitor
GCMonitor. EMPTY
Methods in org.apache.jackrabbit.oak.spi.gc with parameters of type GCMonitor Modifier and Type Method Description Registration
DelegatingGCMonitor. registerGCMonitor(@NotNull GCMonitor gcMonitor)
Register aGCMonitor
.Constructor parameters in org.apache.jackrabbit.oak.spi.gc with type arguments of type GCMonitor Constructor Description DelegatingGCMonitor(@NotNull java.util.Collection<? extends GCMonitor> gcMonitors)
New instance with an initial set of delegates (which cannot be unregistered).
-