Package io.atomix.raft.storage.log
Class RaftLogFlusher.NoopFlusher
java.lang.Object
io.atomix.raft.storage.log.RaftLogFlusher.NoopFlusher
- All Implemented Interfaces:
RaftLogFlusher,CloseableSilently,AutoCloseable
- Enclosing interface:
RaftLogFlusher
An implementation of
RaftLogFlusher which does nothing. When this is the configured
implementation, the journal is flushed only before a snapshot is taken.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.atomix.raft.storage.log.RaftLogFlusher
RaftLogFlusher.DirectFlusher, RaftLogFlusher.Factory, RaftLogFlusher.NoopFlusher -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.atomix.raft.storage.log.RaftLogFlusher
close, isDirect
-
Constructor Details
-
NoopFlusher
public NoopFlusher()
-
-
Method Details
-
flush
Description copied from interface:RaftLogFlusherSignals that there is data to be flushed in the journal. The implementation may or may not immediately flush this.- Specified by:
flushin interfaceRaftLogFlusher- Parameters:
ignoredJournal- the journal to flush
-