private void TriggerEvent(DefaultCheckPointerTracer tracer, int eventDuration) { _clock.forward(ThreadLocalRandom.current().nextLong(200), TimeUnit.MILLISECONDS); using (LogCheckPointEvent @event = tracer.BeginCheckPoint()) { _clock.forward(eventDuration, TimeUnit.MILLISECONDS); } _jobScheduler.runJob(); }
public override void CheckPoint(LogPosition logPosition, LogCheckPointEvent logCheckPointEvent) { }