コード例 #1
0
 public RowRecogPartitionStateRepoNoGroup(
     RowRecogPreviousStrategyImpl getter,
     bool keepScheduleState,
     RowRecogPartitionTerminationStateComparator terminationStateCompare)
 {
     singletonState = new RowRecogPartitionStateImpl(getter, new List<RowRecogNFAStateEntry>());
     optionalIntervalSchedules = keepScheduleState
         ? new RowRecogPartitionStateRepoScheduleStateImpl(terminationStateCompare)
         : null;
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <summary>
 ///     Ctor.
 /// </summary>
 /// <param name="singletonState">state</param>
 public RowRecogPartitionStateRepoNoGroup(RowRecogPartitionStateImpl singletonState)
 {
     this.singletonState = singletonState;
     optionalIntervalSchedules = null;
 }