Interface FileStoreMonitor

  • All Known Implementing Classes:
    FileStoreMonitorAdapter, FileStoreStats

    public interface FileStoreMonitor
    FileStoreMonitor are notified for any writes or deletes performed by FileStore
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void flushed()
      Notifies the monitor when journal data is flushed to disk.
      void reclaimed​(long bytes)
      Notifies the monitor when memory is reclaimed
      void written​(long bytes)
      Notifies the monitor when data is written
    • Method Detail

      • written

        void written​(long bytes)
        Notifies the monitor when data is written
        Parameters:
        bytes - number of bytes written
      • reclaimed

        void reclaimed​(long bytes)
        Notifies the monitor when memory is reclaimed
        Parameters:
        bytes - number of bytes reclaimed
      • flushed

        void flushed()
        Notifies the monitor when journal data is flushed to disk.