Class GCLogger

  • All Implemented Interfaces:
    org.apache.jackrabbit.oak.spi.gc.GCMonitor

    public class GCLogger
    extends Object
    implements org.apache.jackrabbit.oak.spi.gc.GCMonitor
    Logger of garbage collection activity. By putting, modifying and removing some items in the JCR, in order to keep reasonable the performances and the resources allocated by Oak, some compactions are required and mainly with the segment storage. For doing Oak uses a garbage collector. The logger here monitors the activity of this garbage collector and logs messages about this activity.
    Author:
    silveryocha
    • Constructor Detail

      • GCLogger

        public GCLogger()
    • Method Detail

      • info

        public void info​(String message,
                         Object... arguments)
        Specified by:
        info in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
      • warn

        public void warn​(String message,
                         Object... arguments)
        Specified by:
        warn in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
      • error

        public void error​(String message,
                          Exception exception)
        Specified by:
        error in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
      • skipped

        public void skipped​(String reason,
                            Object... arguments)
        Specified by:
        skipped in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
      • compacted

        public void compacted()
        Specified by:
        compacted in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
      • cleaned

        public void cleaned​(long reclaimedSize,
                            long currentSize)
        Specified by:
        cleaned in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor
      • updateStatus

        public void updateStatus​(String status)
        Specified by:
        updateStatus in interface org.apache.jackrabbit.oak.spi.gc.GCMonitor