Class DeletingArchiver
java.lang.Object
org.apache.cassandra.utils.binlog.DeletingArchiver
- All Implemented Interfaces:
net.openhft.chronicle.queue.impl.StoreFileListener,BinLogArchiver
-
Field Summary
Fields inherited from interface net.openhft.chronicle.queue.impl.StoreFileListener
NO_OP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonReleased(int cycle, File file) Track store files as they are added and their storage impact.voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.openhft.chronicle.queue.impl.StoreFileListener
isActive, onAcquired
-
Constructor Details
-
DeletingArchiver
public DeletingArchiver(long maxLogSize)
-
-
Method Details
-
onReleased
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
-