Class BundleCheckpointHandlers.StateAndTimerBundleCheckpointHandler<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SDF_PREFIX  
    • Constructor Summary

      Constructors 
      Constructor Description
      StateAndTimerBundleCheckpointHandler​(org.apache.beam.runners.core.TimerInternalsFactory<T> timerInternalsFactory, org.apache.beam.runners.core.StateInternalsFactory<T> stateInternalsFactory, org.apache.beam.sdk.coders.Coder<org.apache.beam.sdk.values.WindowedValue<T>> residualCoder, org.apache.beam.sdk.coders.Coder windowCoder)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StateAndTimerBundleCheckpointHandler

        public StateAndTimerBundleCheckpointHandler​(org.apache.beam.runners.core.TimerInternalsFactory<T> timerInternalsFactory,
                                                    org.apache.beam.runners.core.StateInternalsFactory<T> stateInternalsFactory,
                                                    org.apache.beam.sdk.coders.Coder<org.apache.beam.sdk.values.WindowedValue<T>> residualCoder,
                                                    org.apache.beam.sdk.coders.Coder windowCoder)
    • Method Detail

      • isSdfTimer

        public 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.
      • onCheckpoint

        public void onCheckpoint​(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response)
        Specified by:
        onCheckpoint in interface BundleCheckpointHandler