public RowRecogPartitionStateRepoNoGroup( RowRecogPreviousStrategyImpl getter, bool keepScheduleState, RowRecogPartitionTerminationStateComparator terminationStateCompare) { singletonState = new RowRecogPartitionStateImpl(getter, new List<RowRecogNFAStateEntry>()); optionalIntervalSchedules = keepScheduleState ? new RowRecogPartitionStateRepoScheduleStateImpl(terminationStateCompare) : null; }
/// <summary> /// Copy state for iteration. /// </summary> /// <returns>copy</returns> public RowRecogPartitionStateRepo CopyForIterate(bool forOutOfOrderReprocessing) { var state = new RowRecogPartitionStateImpl(singletonState.RandomAccess, null); return new RowRecogPartitionStateRepoNoGroup(state); }
/// <summary> /// Ctor. /// </summary> /// <param name="singletonState">state</param> public RowRecogPartitionStateRepoNoGroup(RowRecogPartitionStateImpl singletonState) { this.singletonState = singletonState; optionalIntervalSchedules = null; }