cz.cuni.pogamut.experiments
Class LocalExperimentExecutorImpl

java.lang.Object
  extended by cz.cuni.pogamut.experiments.ExperimentExecutor
      extended by cz.cuni.pogamut.experiments.LocalExperimentExecutor
          extended by cz.cuni.pogamut.experiments.LocalExperimentExecutorImpl

public class LocalExperimentExecutorImpl
extends LocalExperimentExecutor

Executor that starts its own ucc.exe and performs experiment on this server.


Field Summary
(package private) static int maxFailedStarts
          Maximum tries to start the ucc server.
(package private) static int randomStartInterval
           
 
Constructor Summary
LocalExperimentExecutorImpl()
          Creates a new instance of LocalExperimentExecutor
 
Method Summary
 LocalExperimentHandle execute(ExperimentDescriptor experimentDescriptor)
          Executes experiment and returns handle for this experiment.
 LocalExperimentHandle execute(ExperimentDescriptor experimentDescriptor, int failedStarts)
           
 ExperimentHandle[] execute(java.util.List<ExperimentDescriptor> experimentDescriptors)
           
 
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

maxFailedStarts

static final int maxFailedStarts
Maximum tries to start the ucc server.

See Also:
Constant Field Values

randomStartInterval

static final int randomStartInterval
See Also:
Constant Field Values
Constructor Detail

LocalExperimentExecutorImpl

public LocalExperimentExecutorImpl()
Creates a new instance of LocalExperimentExecutor

Method Detail

execute

public LocalExperimentHandle execute(ExperimentDescriptor experimentDescriptor,
                                     int failedStarts)
                              throws ExecutorException
Throws:
ExecutorException

execute

public LocalExperimentHandle execute(ExperimentDescriptor experimentDescriptor)
                              throws ExecutorException
Description copied from class: ExperimentExecutor
Executes experiment and returns handle for this experiment.

Specified by:
execute in class LocalExperimentExecutor
Returns:
Handle for executing experiment.
Throws:
ExecutorException

execute

public ExperimentHandle[] execute(java.util.List<ExperimentDescriptor> experimentDescriptors)
Specified by:
execute in class ExperimentExecutor