Package org.elasticsearch.index.shard
Class GlobalCheckpointListeners
- java.lang.Object
-
- org.elasticsearch.index.shard.GlobalCheckpointListeners
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class GlobalCheckpointListeners extends java.lang.Object implements java.io.Closeable
Represents a collection of global checkpoint listeners. This collection can be added to, and all listeners present at the time of an update will be notified together. All listeners will be notified when the shard is closed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GlobalCheckpointListeners.GlobalCheckpointListener
A global checkpoint listener consisting of a callback that is notified when the global checkpoint is updated or the shard is closed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-