示例#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();
 }
示例#3
0
 private void ChangeState(ViewState state)
 {
     _currentState = state;
 }
示例#4
0
 private void ChangeState(ViewState state)
 {
     _currentState = state;
 }