public class LoggingGCMonitor extends Object implements org.apache.jackrabbit.oak.spi.gc.GCMonitor
GCMonitor implementation logs all calls to its
info(String, Object...), warn(String, Object...),
error(String, Exception) and skipped(String, Object...)
methods at the respective levels using the logger instance passed to the
constructor.org.apache.jackrabbit.oak.spi.gc.GCMonitor.EmptyEMPTY| Constructor and Description |
|---|
LoggingGCMonitor(org.slf4j.Logger log)
New instance logging to
log |
| Modifier and Type | Method and Description |
|---|---|
void |
cleaned(long reclaimedSize,
long currentSize) |
void |
compacted() |
void |
error(String message,
Exception exception) |
void |
info(String message,
Object... arguments) |
void |
skipped(String reason,
Object... arguments) |
void |
updateStatus(String status) |
void |
warn(String message,
Object... arguments) |
public LoggingGCMonitor(org.slf4j.Logger log)
loglog - public void info(String message, Object... arguments)
info in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorpublic void warn(String message, Object... arguments)
warn in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorpublic void error(String message, Exception exception)
error in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorpublic void skipped(String reason, Object... arguments)
skipped in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorpublic void compacted()
compacted in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorpublic void cleaned(long reclaimedSize,
long currentSize)
cleaned in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorpublic void updateStatus(String status)
updateStatus in interface org.apache.jackrabbit.oak.spi.gc.GCMonitorCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.