protected void Replay() { var limit = MaxBufferSize - Buffer.Length; Log.Debug("replay all events request from [{0}] to [{1}], limit [{2}]", CurrentOffset, ToOffset, limit); JournalRef.Tell(new ReplayAllEvents(CurrentOffset, ToOffset, limit, Self)); Context.Become(Replaying); }
protected override void ReceiveInitialRequest() { JournalRef.Tell(SubscribeNewEvents.Instance); Replay(); }
protected override void ReceiveInitialRequest() { JournalRef.Tell(new SubscribePersistenceId(PersistenceId)); Replay(); }
protected override void ReceiveInitialRequest() { JournalRef.Tell(new SubscribeTag(Tag)); Replay(); }