Interface SequenceWriter.ISequenceStrategy

All Known Implementing Classes:
SequenceWriter.ElapsedTimeSequenceStrategy, SequenceWriter.OrSequenceStrategy, SequenceWriter.RecordCountSequenceStrategy, SequenceWriter.SchedulerSequenceStrategy
Enclosing class:
SequenceWriter

public static interface SequenceWriter.ISequenceStrategy
Decides when a SequenceWriter ends the current sequence and starts a new one.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true to end the current sequence before the given record is written, so that the record starts a new one.
  • Method Details

    • endSequence

      boolean endSequence(SequenceWriter.Sequence sequence, Record record)
      Returns true to end the current sequence before the given record is written, so that the record starts a new one.