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