Class DeletingArchiver
- java.lang.Object
-
- org.apache.cassandra.utils.binlog.DeletingArchiver
-
- All Implemented Interfaces:
net.openhft.chronicle.queue.impl.StoreFileListener
,BinLogArchiver
public class DeletingArchiver extends java.lang.Object implements BinLogArchiver
-
-
Constructor Summary
Constructors Constructor Description DeletingArchiver(long maxLogSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onReleased(int cycle, java.io.File file)
Track store files as they are added and their storage impact.void
stop()
-
-
-
Method Detail
-
onReleased
public void onReleased(int cycle, java.io.File file)
Track store files as they are added and their storage impact. Delete them if over storage limit.- Specified by:
onReleased
in interfaceBinLogArchiver
- Specified by:
onReleased
in interfacenet.openhft.chronicle.queue.impl.StoreFileListener
- Parameters:
cycle
-file
-
-
stop
public void stop()
- Specified by:
stop
in interfaceBinLogArchiver
-
-