Пример #1
0
 public CurrentPersistenceIdsPublisher(string writeJournalPluginId)
 {
     _buffer     = new DeliveryBuffer <string>(OnNext);
     _journalRef = Persistence.Instance.Apply(Context.System).JournalFor(writeJournalPluginId);
 }
Пример #2
0
 public AllPersistenceIdsPublisher(bool liveQuery, string writeJournalPluginId)
 {
     _liveQuery  = liveQuery;
     _buffer     = new DeliveryBuffer <string>(OnNext);
     _journalRef = Persistence.Instance.Apply(Context.System).JournalFor(writeJournalPluginId);
 }