예제 #1
0
 internal TopicType(
     AreaTypeInfo info,
     FlowConstructor constructor,
     FlowObservationSet observations,
     ResumeAlgorithm resumeAlgorithm)
     : base(info, constructor, observations, resumeAlgorithm)
 {
 }
예제 #2
0
 internal QueryType(
     AreaTypeInfo info,
     FlowConstructor constructor,
     FlowObservationSet observations,
     ResumeAlgorithm resumeAlgorithm,
     int batchSize)
     : base(info, constructor, observations, resumeAlgorithm)
 {
     BatchSize = batchSize;
 }
예제 #3
0
 internal FlowType(
     AreaTypeInfo info,
     FlowConstructor constructor,
     FlowObservationSet observations,
     ResumeAlgorithm resumeAlgorithm)
     : base(info)
 {
     Constructor     = constructor;
     Observations    = observations;
     ResumeAlgorithm = resumeAlgorithm;
 }
예제 #4
0
 public FlowTypeInfo(
     AreaKey area,
     Type declaredType,
     FlowConstructor constructor,
     FlowObservationSet observations,
     ResumeAlgorithm resumeAlgorithm)
     : base(area, declaredType)
 {
     Constructor     = constructor;
     Observations    = observations;
     ResumeAlgorithm = resumeAlgorithm;
 }
예제 #5
0
        internal ReadResumeScheduleCommand(EventStoreContext context, Many <long> schedule)
        {
            _context  = context;
            _schedule = schedule;

            _scheduleFirst = schedule.First();
            _scheduleLast  = schedule.Last();

            _readCheckpoint = StreamPosition.End;

            // There is overhead in piping a resume algorithm from configuration. The default should work until
            // we experience otherwise.

            _algorithm = new ResumeAlgorithm();
        }