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.StoreFileListeneronReleased in interface BinLogArchiverpublic void stop()
stop in interface BinLogArchiverCopyright © 2009-2022 The Apache Software Foundation