Class BundleCheckpointHandlers.StateAndTimerBundleCheckpointHandler<T>
java.lang.Object
org.apache.beam.runners.fnexecution.control.BundleCheckpointHandlers.StateAndTimerBundleCheckpointHandler<T>
- All Implemented Interfaces:
 BundleCheckpointHandler
- Enclosing class:
 BundleCheckpointHandlers
public static class BundleCheckpointHandlers.StateAndTimerBundleCheckpointHandler<T>
extends Object
implements BundleCheckpointHandler
A 
BundleCheckpointHandler which uses TimerInternals.TimerData and ValueState to reschedule BeamFnApi.DelayedBundleApplication.- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionStateAndTimerBundleCheckpointHandler(org.apache.beam.runners.core.TimerInternalsFactory<T> timerInternalsFactory, org.apache.beam.runners.core.StateInternalsFactory<T> stateInternalsFactory, Coder<WindowedValue<T>> residualCoder, Coder windowCoder)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSdfTimer(String timerId) A helper function to help check whether the given timer is the timer which is set for reschedulingBeamFnApi.DelayedBundleApplication.voidonCheckpoint(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response)  
- 
Field Details
- 
SDF_PREFIX
- See Also:
 
 
 - 
 - 
Constructor Details
- 
StateAndTimerBundleCheckpointHandler
 
 - 
 - 
Method Details
- 
isSdfTimer
A helper function to help check whether the given timer is the timer which is set for reschedulingBeamFnApi.DelayedBundleApplication. - 
onCheckpoint
public void onCheckpoint(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response) - Specified by:
 onCheckpointin interfaceBundleCheckpointHandler
 
 -