public static class BundleCheckpointHandlers.StateAndTimerBundleCheckpointHandler<T> extends java.lang.Object implements BundleCheckpointHandler
BundleCheckpointHandler which uses TimerInternals.TimerData ans ValueState to reschedule BeamFnApi.DelayedBundleApplication.| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | SDF_PREFIX | 
| Constructor and Description | 
|---|
| StateAndTimerBundleCheckpointHandler(org.apache.beam.runners.core.TimerInternalsFactory<T> timerInternalsFactory,
                                    org.apache.beam.runners.core.StateInternalsFactory<T> stateInternalsFactory,
                                    Coder<org.apache.beam.sdk.util.WindowedValue<T>> residualCoder,
                                    Coder windowCoder) | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isSdfTimer(java.lang.String timerId)A helper function to help check whether the given timer is the timer which is set for
 rescheduling  BeamFnApi.DelayedBundleApplication. | 
| void | onCheckpoint(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response) | 
public static final java.lang.String SDF_PREFIX
public StateAndTimerBundleCheckpointHandler(org.apache.beam.runners.core.TimerInternalsFactory<T> timerInternalsFactory, org.apache.beam.runners.core.StateInternalsFactory<T> stateInternalsFactory, Coder<org.apache.beam.sdk.util.WindowedValue<T>> residualCoder, Coder windowCoder)
public static boolean isSdfTimer(java.lang.String timerId)
BeamFnApi.DelayedBundleApplication.public void onCheckpoint(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response)
onCheckpoint in interface BundleCheckpointHandler