Package org.elasticsearch.index.shard
Class GlobalCheckpointListeners
java.lang.Object
org.elasticsearch.index.shard.GlobalCheckpointListeners
- All Implemented Interfaces:
Closeable
,AutoCloseable
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
Modifier and TypeClassDescriptionstatic interface
A global checkpoint listener consisting of a callback that is notified when the global checkpoint is updated or the shard is closed. -
Method Summary
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-