Class FileStoreMonitorAdapter
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.spi.monitor.FileStoreMonitorAdapter
-
- All Implemented Interfaces:
FileStoreMonitor
public class FileStoreMonitorAdapter extends Object implements FileStoreMonitor
A void implementation of theFileStoreMonitor
. Can be used for the testing purposes or for the extension.
-
-
Constructor Summary
Constructors Constructor Description FileStoreMonitorAdapter()
-
Method Summary
All Methods Instance Methods Concrete 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 reclaimedvoid
written(long bytes)
Notifies the monitor when data is written
-
-
-
Method Detail
-
written
public void written(long bytes)
Description copied from interface:FileStoreMonitor
Notifies the monitor when data is written- Specified by:
written
in interfaceFileStoreMonitor
- Parameters:
bytes
- number of bytes written
-
reclaimed
public void reclaimed(long bytes)
Description copied from interface:FileStoreMonitor
Notifies the monitor when memory is reclaimed- Specified by:
reclaimed
in interfaceFileStoreMonitor
- Parameters:
bytes
- number of bytes reclaimed
-
flushed
public void flushed()
Description copied from interface:FileStoreMonitor
Notifies the monitor when journal data is flushed to disk.- Specified by:
flushed
in interfaceFileStoreMonitor
-
-