Package com.streambase.liveview.client
Class PubListenerConfig
java.lang.Object
com.streambase.liveview.client.PubListenerConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe utility to return the call back time interval.The utility to return the call back interval'sTimeUnit.booleanReturns the flag that controls the type of events that are sent back on the listener.setCallBackTime(Long timeInterval) It set the timeInterval in defaultTimeUnitwhich is set to MilliSeconds.setCallBackTime(TimeUnit timeUnit, Long timeInterval) Sets the ack. call back frequency for the current publisher.setOnlyChanges(boolean onlyChanges) Sets the flag to control the type of events that come back on the listener.
-
Constructor Details
-
PubListenerConfig
public PubListenerConfig()
-
-
Method Details
-
setCallBackTime
It set the timeInterval in defaultTimeUnitwhich is set to MilliSeconds.- Parameters:
timeInterval-- Returns:
PubListenerConfig
-
setCallBackTime
Sets the ack. call back frequency for the current publisher.- Parameters:
timeUnit-TimeUnittimeInterval-- Returns:
-
setOnlyChanges
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
-
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
-