Class TimerReceiverFactory

java.lang.Object
org.apache.beam.runners.fnexecution.control.TimerReceiverFactory

public class TimerReceiverFactory extends Object
A factory that passes timers to timerDataConsumer.

The constructed timers uses len(transformId):transformId:timerId as the timer id to prevent string collisions. See encodeToTimerDataTimerId(java.lang.String, java.lang.String) and decodeTimerDataTimerId(java.lang.String) for functions to aid with encoding and decoding.

If the incoming timer is being cleared, the TimerInternals.TimerData sets the fire and hold timestamps to BoundedWindow.TIMESTAMP_MAX_VALUE.