Class PauseResponse

  • All Implemented Interfaces:

    
    public final class PauseResponse
    
                        

    Response from pause operation

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getPaused() Whether the consumer is paused - always true for a successful pause
      final Instant getPauseUntil() When the consumer will be automatically resumed, or null when it stays paused until explicitly resumed
      final Boolean willAutoResume() Check if the consumer is scheduled for automatic resume
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getPaused

         final Boolean getPaused()

        Whether the consumer is paused - always true for a successful pause

      • getPauseUntil

         final Instant getPauseUntil()

        When the consumer will be automatically resumed, or null when it stays paused until explicitly resumed

      • willAutoResume

         final Boolean willAutoResume()

        Check if the consumer is scheduled for automatic resume

        Returns:

        true if pauseUntil is set, false otherwise