public class ExternalArchiver extends java.lang.Object implements BinLogArchiver
Constructor and Description |
---|
ExternalArchiver(java.lang.String archiveCommand,
java.nio.file.Path path,
int maxArchiveRetries) |
Modifier and Type | Method and Description |
---|---|
void |
onReleased(int cycle,
java.io.File file) |
void |
stop()
Stops the archiver thread and tries to archive all existing files
this handles the case where a user explicitly disables full/audit log and would expect all log files to be archived
rolled or not
|
public ExternalArchiver(java.lang.String archiveCommand, java.nio.file.Path path, int maxArchiveRetries)
public void onReleased(int cycle, java.io.File file)
onReleased
in interface net.openhft.chronicle.queue.impl.StoreFileListener
onReleased
in interface BinLogArchiver
public void stop()
stop
in interface BinLogArchiver
Copyright © 2009-2021 The Apache Software Foundation