|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceforge.jemm.AbstractStore
org.sourceforge.jemm.MemoryStore
public class MemoryStore
A MemoryStore uses a MemoryDatabase to store object data in the local
JVM heap but using the JEMM model of auto updated values.
The following code shows how to register the MemoryStore such that it
will store all objects that have been enhanced:
MemoryStore myStore = new MemoryStore();
Session.setStore(myStore);
One your program has finished running call the following:
Session.shutdown();
Session
Field Summary |
---|
Fields inherited from class org.sourceforge.jemm.AbstractStore |
---|
db, listener |
Constructor Summary | |
---|---|
MemoryStore()
|
|
MemoryStore(boolean debug)
|
Method Summary | |
---|---|
protected Database |
createUnderlyingDatabase()
|
protected void |
shutdownUnderlyingDatabase()
|
Methods inherited from class org.sourceforge.jemm.AbstractStore |
---|
getRoot, initialise, setRoot, setRootIfNull, setup, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryStore()
public MemoryStore(boolean debug)
Method Detail |
---|
protected Database createUnderlyingDatabase()
createUnderlyingDatabase
in class AbstractStore
protected void shutdownUnderlyingDatabase()
shutdownUnderlyingDatabase
in class AbstractStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |