Interface PausableChannel


public interface PausableChannel
A channel that can be paused and resumed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether the channel is paused.
    void
    Pauses the channel.
    void
    Resumes the channel.
  • Method Details

    • isPaused

      boolean isPaused()
      Checks whether the channel is paused.
      Returns:
      true if the channel is paused, false otherwise
    • pause

      void pause()
      Pauses the channel.
    • resume

      void resume()
      Resumes the channel.