joliver/EventStore — Issue #102: InMemoryPersistenceEngine - Static fields
Author: vzgromozdun
Created: 2012-02-27 13:17:10+00:00
State: open

Hi Jonathan,

I have a question about InMemoryPersistenceEngine implementation. why these fields marked as static?

```
private static readonly IList Commits = new List();
private static readonly ICollection Heads = new LinkedList();
private static readonly ICollection Undispatched = new LinkedList();
private static readonly ICollection Snapshots = new LinkedList();
private static readonly IDictionary Stamps = new Dictionary();
```

Due this it is impossible to have two separate InMemoryPersistenceEngine instances.

So initial question - is it bug or feature? :-)

Thanks in advance,
Dmitry