Class PartitionRequestListenerManager


  • public class PartitionRequestListenerManager
    extends Object
    Manages partition request listener with input channel id.
    • Constructor Detail

      • PartitionRequestListenerManager

        public PartitionRequestListenerManager()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • removeExpiration

        public void removeExpiration​(long now,
                                     long timeout,
                                     Collection<PartitionRequestListener> timeoutListeners)
        Remove the expire partition request listener and add it to the given timeoutListeners.
        Parameters:
        now - the timestamp
        timeout - the timeout mills
        timeoutListeners - the expire partition request listeners