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 voidonReleased(int cycle, java.io.File file)Track store files as they are added and their storage impact.voidstop()
-
-
-
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:
onReleasedin interfaceBinLogArchiver- Specified by:
onReleasedin interfacenet.openhft.chronicle.queue.impl.StoreFileListener- Parameters:
cycle-file-
-
stop
public void stop()
- Specified by:
stopin interfaceBinLogArchiver
-
-