java.lang.Object
org.elasticsearch.index.engine.FlushListeners
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionFlushListeners
(org.apache.logging.log4j.Logger logger, ThreadContext threadContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOrNotify
(Translog.Location location, ActionListener<Long> listener) void
afterFlush
(long generation, Translog.Location lastCommitLocation) void
close()
-
Constructor Details
-
FlushListeners
-
-
Method Details
-
addOrNotify
-
afterFlush
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-