org.infinispan.demo
Class Demo

java.lang.Object
  extended by org.infinispan.demo.Demo
Direct Known Subclasses:
PiApproximationDemo, WordCountDemo

public abstract class Demo
extends Object


Field Summary
protected  String cfgFile
           
protected  com.martiansoftware.jsap.JSAPResult commandLineOptions
           
protected  boolean isMaster
           
 
Constructor Summary
Demo(String[] args)
           
 
Method Summary
protected abstract  com.martiansoftware.jsap.SimpleJSAP buildCommandLineOptions()
           
protected  com.martiansoftware.jsap.JSAPResult parseParameters(String[] args)
           
protected  Cache<String,String> startCache()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isMaster

protected final boolean isMaster

cfgFile

protected final String cfgFile

commandLineOptions

protected final com.martiansoftware.jsap.JSAPResult commandLineOptions
Constructor Detail

Demo

public Demo(String[] args)
     throws Exception
Throws:
Exception
Method Detail

parseParameters

protected com.martiansoftware.jsap.JSAPResult parseParameters(String[] args)
                                                       throws Exception
Throws:
Exception

startCache

protected Cache<String,String> startCache()
                                   throws IOException
Throws:
IOException

buildCommandLineOptions

protected abstract com.martiansoftware.jsap.SimpleJSAP buildCommandLineOptions()
                                                                        throws com.martiansoftware.jsap.JSAPException
Throws:
com.martiansoftware.jsap.JSAPException

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.