Package com.streambase.liveview.client
Class PublisherStatusEvent
java.lang.Object
java.util.EventObject
com.streambase.liveview.client.AbstractPublisherEvent
com.streambase.liveview.client.PublisherStatusEvent
- All Implemented Interfaces:
Serializable
The event dispatched when a new publisher status is available.
- Since:
- 10.5.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPublisherStatusEvent
(Object source, Long lastPublishedSN, Long lastPersistedSN) -
Method Summary
Modifier and TypeMethodDescriptionGet the sequence number of last persisted tuple.Get the sequence number of last published tuple.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PublisherStatusEvent
-
-
Method Details
-
getLastPublishedSN
Get the sequence number of last published tuple.- Returns:
- the last published sequence number.
- Since:
- 10.5.0
-
getLastPersistedSN
Get the sequence number of last persisted tuple.- Returns:
- the last persisted sequence number. In case non persisted tables, this will be null.
- Since:
- 10.5.0
-