Class AtomixLogCompactor

    • Constructor Detail

    • Method Detail

      • compactLog

        public CompletableFuture<Void> compactLog​(long compactionBound)
        Sets the compactable index on the Atomix side and triggers compaction. On failure will log the error but will return a "successful" future - arguable if this is desired behavior.
        Specified by:
        compactLog in interface LogCompactor
        Parameters:
        compactionBound - the upper index compaction bound
        Returns:
        a future which is completed after compaction is finished