Class FileStoreGCMonitor

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

    public class FileStoreGCMonitor
    extends Object
    implements org.apache.jackrabbit.oak.spi.gc.GCMonitor
    GCMonitor implementation providing the file store gc status.
    • Constructor Detail

      • FileStoreGCMonitor

        public FileStoreGCMonitor​(@NotNull
                                  @NotNull org.apache.jackrabbit.oak.stats.Clock clock)
    • 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 reclaimed,
                            long current)
        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
      • getLastCompaction

        public long getLastCompaction()
      • getLastCleanup

        public long getLastCleanup()
      • getLastRepositorySize

        public long getLastRepositorySize()
      • getLastReclaimedSize

        public long getLastReclaimedSize()
      • getLastError

        public String getLastError()
      • getLastLogMessage

        @NotNull
        public @NotNull String getLastLogMessage()
      • getStatus

        @NotNull
        public @NotNull String getStatus()