Class GlobalCheckpointListeners

All Implemented Interfaces:, java.lang.AutoCloseable

public class GlobalCheckpointListeners
extends java.lang.Object
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

    Modifier and Type Method Description
    void close()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • close

      public void close() throws
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface