org.infinispan.demo.distexec
Class PiApproximationDemo

java.lang.Object
  extended by org.infinispan.demo.Demo
      extended by org.infinispan.demo.distexec.PiApproximationDemo

public class PiApproximationDemo
extends Demo

Infinispan distributed executors demo using pi approximation.


Field Summary
 
Fields inherited from class org.infinispan.demo.Demo
cfgFile, commandLineOptions, isMaster
 
Constructor Summary
PiApproximationDemo(String[] args)
           
 
Method Summary
protected  com.martiansoftware.jsap.SimpleJSAP buildCommandLineOptions()
           
static void main(String... args)
           
 void run()
           
 
Methods inherited from class org.infinispan.demo.Demo
parseParameters, startCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PiApproximationDemo

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

main

public static void main(String... args)
                 throws Exception
Throws:
Exception

run

public void run()
         throws Exception
Throws:
Exception

buildCommandLineOptions

protected com.martiansoftware.jsap.SimpleJSAP buildCommandLineOptions()
                                                               throws com.martiansoftware.jsap.JSAPException
Specified by:
buildCommandLineOptions in class Demo
Throws:
com.martiansoftware.jsap.JSAPException

-->

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