@DefaultSchema(value=AutoValueSchema.class) public abstract class OrderedProcessingStatus extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OrderedProcessingStatus.Builder |
Constructor and Description |
---|
OrderedProcessingStatus() |
Modifier and Type | Method and Description |
---|---|
static OrderedProcessingStatus |
create(java.lang.Long lastOutputSequence,
long numberOfBufferedEvents,
java.lang.Long earliestBufferedSequence,
java.lang.Long latestBufferedSequence,
long numberOfReceivedEvents,
long resultCount,
long duplicateCount,
boolean lastEventReceived) |
boolean |
equals(java.lang.Object obj) |
abstract long |
getDuplicateCount() |
abstract java.lang.Long |
getEarliestBufferedSequence() |
abstract java.lang.Long |
getLastProcessedSequence() |
abstract java.lang.Long |
getLatestBufferedSequence() |
abstract long |
getNumberOfBufferedEvents() |
abstract long |
getNumberOfReceivedEvents() |
abstract long |
getResultCount() |
abstract Instant |
getStatusDate() |
int |
hashCode() |
abstract boolean |
isLastEventReceived() |
public static OrderedProcessingStatus create(java.lang.Long lastOutputSequence, long numberOfBufferedEvents, java.lang.Long earliestBufferedSequence, java.lang.Long latestBufferedSequence, long numberOfReceivedEvents, long resultCount, long duplicateCount, boolean lastEventReceived)
@Nullable public abstract java.lang.Long getLastProcessedSequence()
public abstract long getNumberOfBufferedEvents()
@Nullable public abstract java.lang.Long getEarliestBufferedSequence()
@Nullable public abstract java.lang.Long getLatestBufferedSequence()
public abstract long getNumberOfReceivedEvents()
public abstract long getDuplicateCount()
OrderedEventProcessorResult.unprocessedEvents()
PCollectionpublic abstract long getResultCount()
public abstract boolean isLastEventReceived()
getNumberOfBufferedEvents()
== 0 and this
indicator as the sign that the processing is complete.public abstract Instant getStatusDate()
public final boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object