Class NanosecondPauseBatchRewindStrategy

  • All Implemented Interfaces:
    BatchRewindStrategy

    public class NanosecondPauseBatchRewindStrategy
    extends java.lang.Object
    implements BatchRewindStrategy

    Strategy for handling a rewindableException that will pause for a specified amount of nanos.

    • Constructor Detail

      • NanosecondPauseBatchRewindStrategy

        public NanosecondPauseBatchRewindStrategy​(long nanoSecondPauseTime)

        Strategy for handling a rewindableException that will pause for a specified amount of nanos.

        Parameters:
        nanoSecondPauseTime - Amount of nanos to pause for when a rewindable exception is thrown