Class PubListenerConfig


  • public class PubListenerConfig
    extends Object
    • Constructor Detail

      • PubListenerConfig

        public PubListenerConfig()
    • Method Detail

      • setCallBackTime

        public PubListenerConfig setCallBackTime​(TimeUnit timeUnit,
                                                 Long timeInterval)
        Sets the ack. call back frequency for the current publisher.
        Parameters:
        timeUnit - TimeUnit
        timeInterval -
        Returns:
      • setOnlyChanges

        public PubListenerConfig setOnlyChanges​(boolean onlyChanges)
        Sets the flag to control the type of events that come back on the listener.
        Parameters:
        onlyChanges - the flag controls the type of events that are to be sent back on the listener
        Returns:
        PubListenerConfig
      • getCallBackTimeInterval

        public Long getCallBackTimeInterval()
        The utility to return the call back time interval.
        Returns:
        the Long value representing the time duration for publisher ack. call backs.
        Since:
        10.5.0
      • onlyChanges

        public boolean onlyChanges()
        Returns the flag that controls the type of events that are sent back on the listener.
        Returns:
        the boolean value that controls the type of events on the listener
      • getCallBackTimeUnit

        public TimeUnit getCallBackTimeUnit()
        The utility to return the call back interval's TimeUnit.
        Returns:
        the TimeUnit for publisher ack. call back time interval.
        Since:
        10.5.0