public static class WatermarkManager.TimerUpdate
extends java.lang.Object
setTimers and deletedTimers are collections of TimerInternals.TimerData
that have been added to the
TimerInternals
of an executed step. completedTimers are timers that were delivered as
the input to the executed step.
Modifier and Type | Class and Description |
---|---|
static class |
WatermarkManager.TimerUpdate.TimerUpdateBuilder
A
WatermarkManager.TimerUpdate builder that needs to be provided with set timers and deleted timers. |
Modifier and Type | Method and Description |
---|---|
static WatermarkManager.TimerUpdate.TimerUpdateBuilder |
builder(StructuralKey<?> key)
Creates a new
WatermarkManager.TimerUpdate builder with the provided completed timers that needs the
set and deleted timers to be added to it. |
static WatermarkManager.TimerUpdate |
empty()
Returns a TimerUpdate for a null key with no timers.
|
boolean |
equals(java.lang.Object other) |
java.lang.Iterable<? extends org.apache.beam.runners.core.TimerInternals.TimerData> |
getCompletedTimers() |
java.lang.Iterable<? extends org.apache.beam.runners.core.TimerInternals.TimerData> |
getDeletedTimers() |
java.lang.Iterable<? extends org.apache.beam.runners.core.TimerInternals.TimerData> |
getSetTimers() |
int |
hashCode() |
WatermarkManager.TimerUpdate |
withCompletedTimers(java.lang.Iterable<org.apache.beam.runners.core.TimerInternals.TimerData> completedTimers)
Returns a
WatermarkManager.TimerUpdate that is like this one, but with the specified completed timers. |
public static WatermarkManager.TimerUpdate empty()
public static WatermarkManager.TimerUpdate.TimerUpdateBuilder builder(StructuralKey<?> key)
WatermarkManager.TimerUpdate
builder with the provided completed timers that needs the
set and deleted timers to be added to it.public java.lang.Iterable<? extends org.apache.beam.runners.core.TimerInternals.TimerData> getCompletedTimers()
public java.lang.Iterable<? extends org.apache.beam.runners.core.TimerInternals.TimerData> getSetTimers()
public java.lang.Iterable<? extends org.apache.beam.runners.core.TimerInternals.TimerData> getDeletedTimers()
public WatermarkManager.TimerUpdate withCompletedTimers(java.lang.Iterable<org.apache.beam.runners.core.TimerInternals.TimerData> completedTimers)
WatermarkManager.TimerUpdate
that is like this one, but with the specified completed timers.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object