|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sourceforge.jemm.sample.AbstractDemo org.sourceforge.jemm.sample.demo1.Demo1SpeedCreation
public final class Demo1SpeedCreation
A simple demonstration program. The demo uses a persistent memory store (the data is stored in memory and persisted to disk on shutdown. It is a simple example that looks to see if a Foo is already stored, if so it finds the associated Bar and increments the counter. If no Foo is found it creates a new one and places it into the store.
Field Summary | |
---|---|
static int |
NO_CREATIONS
|
Fields inherited from class org.sourceforge.jemm.sample.AbstractDemo |
---|
store |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main method, runs the example using the command line store configuration |
void |
runDemo()
Runs the actual demo with the given store implementation. |
Methods inherited from class org.sourceforge.jemm.sample.AbstractDemo |
---|
generateStats |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_CREATIONS
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- Program arguments - see AbstractDemo.public void runDemo()
store
- The store implementation to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |