Class MemoryPersisterFactory

java.lang.Object
net.sodacan.core.persist.memory.MemoryPersisterFactory
All Implemented Interfaces:
Closeable, AutoCloseable, PersisterFactory

public class MemoryPersisterFactory extends Object implements PersisterFactory
As with all persisters, the factory hangs around until host closes it. So, this is where we keep a map of persisted values. When asked to create a Persister, we point it to this map.