org.jppf.gigaspaces.test
Class TestFromJSP
java.lang.Object
org.jppf.gigaspaces.test.TestFromJSP
public class TestFromJSP
- extends Object
Utility class used from a Java Server Page to invoke a JPPF job execution
via a JPPF client deployed as a GigaSpaces processing unit.
- Author:
- Laurent Cohen
|
Method Summary |
static String |
testGS(String jobName,
int nbTasks,
long taskDuration)
Execute a job and return the result as a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestFromJSP
public TestFromJSP()
testGS
public static String testGS(String jobName,
int nbTasks,
long taskDuration)
- Execute a job and return the result as a string.
- Parameters:
jobName - the name given to the JPPF job.nbTasks - the number of tasks in the job.taskDuration - the duration in milliseconds of each task in the job.
- Returns:
- the job result as a string message.
Copyright © 2005-2010 JPPF Team.