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 voidflushed()Notifies the monitor when journal data is flushed to disk.voidreclaimed(long bytes)Notifies the monitor when memory is reclaimedvoidwritten(long bytes)Notifies the monitor when data is written
-
-
-
Method Detail
-
written
public void written(long bytes)
Description copied from interface:FileStoreMonitorNotifies the monitor when data is written- Specified by:
writtenin interfaceFileStoreMonitor- Parameters:
bytes- number of bytes written
-
reclaimed
public void reclaimed(long bytes)
Description copied from interface:FileStoreMonitorNotifies the monitor when memory is reclaimed- Specified by:
reclaimedin interfaceFileStoreMonitor- Parameters:
bytes- number of bytes reclaimed
-
flushed
public void flushed()
Description copied from interface:FileStoreMonitorNotifies the monitor when journal data is flushed to disk.- Specified by:
flushedin interfaceFileStoreMonitor
-
-