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
public final class PublisherStatusEvent extends AbstractPublisherEvent
The event dispatched when a new publisher status is available.- Since:
- 10.5.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PublisherStatusEvent(Object source, Long lastPublishedSN, Long lastPersistedSN)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getLastPersistedSN()
Get the sequence number of last persisted tuple.Long
getLastPublishedSN()
Get the sequence number of last published tuple.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getLastPublishedSN
public Long getLastPublishedSN()
Get the sequence number of last published tuple.- Returns:
- the last published sequence number.
- Since:
- 10.5.0
-
getLastPersistedSN
public Long 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
-
-