Package io.atomix.raft.impl.zeebe
Class LogCompactor
java.lang.Object
io.atomix.raft.impl.zeebe.LogCompactor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()compact()Assumes our snapshots are being taken asynchronously and we regularly update the compactable index.executor()voidsetCompactableIndex(long index)
-
Constructor Details
-
LogCompactor
-
-
Method Details
-
executor
-
compact
Assumes our snapshots are being taken asynchronously and we regularly update the compactable index. Compaction is performed asynchronously.- Returns:
- a future which is completed when the log has been compacted
-
close
public void close() -
setCompactableIndex
public void setCompactableIndex(long index)
-