Пример #1
0
 protected PersistentView()
 {
     LastSequenceNr = 0L;
     Extension = Persistence.Instance.Apply(Context.System);
     _viewSettings = Extension.Settings.View;
     _internalStash = CreateStash();
     _currentState = RecoveryPending();
 }
Пример #2
0
 protected PersistentView()
 {
     LastSequenceNr = 0L;
     Extension = Persistence.Instance.Apply(Context.System);
     _viewSettings = Extension.Settings.View;
     _internalStash = CreateStash();
     _currentState = RecoveryStarted(long.MaxValue);
     _log = Context.GetLogger();
 }