protected PersistentView() { LastSequenceNr = 0L; Extension = Persistence.Instance.Apply(Context.System); _viewSettings = Extension.Settings.View; _internalStash = CreateStash(); _currentState = RecoveryPending(); }
protected PersistentView() { LastSequenceNr = 0L; Extension = Persistence.Instance.Apply(Context.System); _viewSettings = Extension.Settings.View; _internalStash = CreateStash(); _currentState = RecoveryStarted(long.MaxValue); _log = Context.GetLogger(); }
private void ChangeState(ViewState state) { _currentState = state; }