Exemplo n.º 1
0
 protected PersistentView()
 {
     LastSequenceNr = 0L;
     Extension = Persistence.Instance.Apply(Context.System);
     _viewSettings = Extension.Settings.View;
     _internalStash = CreateStash();
     _currentState = RecoveryPending();
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 private void ChangeState(ViewState state)
 {
     _currentState = state;
 }
Exemplo n.º 4
0
 private void ChangeState(ViewState state)
 {
     _currentState = state;
 }