public void Handle(SnapshotCreated snapshotCreated)
        {
            //flush the queue
            _queue.CompleteAdding();
            _writerThread.Join();

            //notify actual writer
            _decoratedWriter.Handle(snapshotCreated);

            //restart
            Init();
        }
示例#2
0
 internal void Handle(SnapshotCreated snapshotCreated)
 {
     _writer.Handle(snapshotCreated);
 }