Ejemplo n.º 1
0
 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();
 }