|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.pogamut.experiments.ExperimentExecutor
cz.cuni.pogamut.experiments.SerialExperimentExecutor
cz.cuni.pogamut.experiments.ExperimentsUTServer
public class ExperimentsUTServer
Wrapper for UT Server that adds functionality for running Experiments.
Field Summary | |
---|---|
protected Experiment |
actualExperiment
Experiment being run on the server. |
protected FlagListener<ExperimentExecutionState> |
experimentListener
|
protected UTServer |
server
Server being wrapped. |
Constructor Summary | |
---|---|
protected |
ExperimentsUTServer(UTServer server)
Creates a new instance of ExperimentsUTServer |
Method Summary | |
---|---|
static ExperimentsUTServer |
create(UTServer server)
Creates ExperimentsUTServer for given server. |
LocalExperimentHandle |
execute(ExperimentDescriptor experimentDescriptor)
Executes experiment on UTServer. |
Experiment |
getActualExperiment()
|
UTServer |
getServer()
|
protected boolean |
isActualExperimentRunning()
|
protected void |
removeExperiment()
Clears all variables connected to finished experiment. |
Methods inherited from class cz.cuni.pogamut.experiments.SerialExperimentExecutor |
---|
execute |
Methods inherited from class cz.cuni.pogamut.experiments.ExperimentExecutor |
---|
close, waitForAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected UTServer server
protected Experiment actualExperiment
protected FlagListener<ExperimentExecutionState> experimentListener
Constructor Detail |
---|
protected ExperimentsUTServer(UTServer server)
Method Detail |
---|
public static ExperimentsUTServer create(UTServer server)
protected boolean isActualExperimentRunning()
public LocalExperimentHandle execute(ExperimentDescriptor experimentDescriptor) throws ExecutorException
execute
in class ExperimentExecutor
ExecutorException
protected void removeExperiment()
public Experiment getActualExperiment()
public UTServer getServer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |