Package org.apache.jackrabbit.oak.spi.gc
Class GCMonitorTracker
- java.lang.Object
 - 
- org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker<GCMonitor>
 - 
- org.apache.jackrabbit.oak.spi.gc.GCMonitorTracker
 
 
 
- 
- All Implemented Interfaces:
 GCMonitor
public class GCMonitorTracker extends AbstractServiceTracker<GCMonitor> implements GCMonitor
ThisGCMonitorimplementation tracksGCMonitorinstances registered to theWhiteboarddelegating all calls to to those. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
GCMonitor.Empty 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GCMonitorTracker() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleaned(long reclaimedSize, long currentSize)The cleanup phase of the garbage collection process terminated successfully.voidcompacted()The compaction phase of the garbage collection process terminated successfully.voiderror(java.lang.String message, java.lang.Exception e)An error caused the garbage collection process to terminate prematurely.voidinfo(java.lang.String message, java.lang.Object... arguments)Informal notification on the progress of garbage collection.voidskipped(java.lang.String message, java.lang.Object... arguments)A garbage collection cycle is skipped for a specificreason.voidupdateStatus(java.lang.String status)The garbage collection entered a new phase e.g.voidwarn(java.lang.String message, java.lang.Object... arguments)Warning about a condition that might have adverse effects on the overall garbage collection process but does not prevent the process from running.- 
Methods inherited from class org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker
start, stop 
 - 
 
 - 
 
- 
- 
Method Detail
- 
info
public void info(java.lang.String message, java.lang.Object... arguments)Description copied from interface:GCMonitorInformal notification on the progress of garbage collection. 
- 
warn
public void warn(java.lang.String message, java.lang.Object... arguments)Description copied from interface:GCMonitorWarning about a condition that might have adverse effects on the overall garbage collection process but does not prevent the process from running. 
- 
error
public void error(java.lang.String message, java.lang.Exception e)Description copied from interface:GCMonitorAn error caused the garbage collection process to terminate prematurely. 
- 
skipped
public void skipped(java.lang.String message, java.lang.Object... arguments)Description copied from interface:GCMonitorA garbage collection cycle is skipped for a specificreason. 
- 
compacted
public void compacted()
Description copied from interface:GCMonitorThe compaction phase of the garbage collection process terminated successfully. 
- 
cleaned
public void cleaned(long reclaimedSize, long currentSize)Description copied from interface:GCMonitorThe cleanup phase of the garbage collection process terminated successfully. 
- 
updateStatus
public void updateStatus(java.lang.String status)
Description copied from interface:GCMonitorThe garbage collection entered a new phase e.g. idle, estimation, etc.- Specified by:
 updateStatusin interfaceGCMonitor- Parameters:
 status- short summary of the GC phase
 
 - 
 
 -