public static class WatermarkManager.TimerUpdate extends 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(org.apache.beam.runners.direct.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(Object other) |
int |
hashCode() |
WatermarkManager.TimerUpdate |
withCompletedTimers(Iterable<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(org.apache.beam.runners.direct.StructuralKey<?> key)
WatermarkManager.TimerUpdate builder with the provided completed timers that needs the
set and deleted timers to be added to it.public WatermarkManager.TimerUpdate withCompletedTimers(Iterable<TimerInternals.TimerData> completedTimers)
WatermarkManager.TimerUpdate that is like this one, but with the specified completed timers.Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.