public override void Dispatch(IShardRecordProcessor processor, Checkpointer checkpointer) { processor.LeaseLost(new DefaultLeaseLostInput()); }
public virtual void Dispatch(IShardRecordProcessor processor, Checkpointer checkpointer) { throw new NotImplementedException("Actions need to implement Dispatch, this likely indicates a bug."); }
public override void Dispatch(IShardRecordProcessor processor, Checkpointer checkpointer) { processor.ProcessRecords(new DefaultProcessRecordsInput(this, checkpointer)); }
public override void Dispatch(IShardRecordProcessor processor, Checkpointer checkpointer) { processor.ShutdownRequested(new DefaultShutdownRequestedInput(checkpointer)); }
internal static KclProcess Create(IShardRecordProcessor recordProcessor, IoHandler ioHandler) { return(new DefaultKclProcess(recordProcessor, ioHandler)); }
public static KclProcess Create(IShardRecordProcessor recordProcessor) { return(Create(recordProcessor, new IoHandler())); }
public override void Dispatch(IShardRecordProcessor processor, Checkpointer checkpointer) { processor.Initialize(new DefaultInitializationInput(this)); }
internal DefaultKclProcess(IShardRecordProcessor processor, IoHandler iohandler) { _processor = processor; _iohandler = iohandler; _checkpointer = new InternalCheckpointer(this); }
public override void Dispatch(IShardRecordProcessor processor, Checkpointer checkpointer) { throw new NotSupportedException("CheckpointAction should never be dispatched, but handled in line"); }