| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.sample.AbstractDemo
org.sourceforge.jemm.sample.demo1.Demo1
public final class Demo1
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 | 
|---|
| 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 | 
| Method Detail | 
|---|
public static void main(java.lang.String[] args)
args - Program arguments - see AbstractDemo.public void runDemo()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||