Class CLIInputFileWorker

  • All Implemented Interfaces:
    java.lang.Runnable, Worker

    public class CLIInputFileWorker
    extends MultipleCLIInputWorker
    Worker to execute a query against a CLI process, the connection.service will be the command to execute the query against. Assumes that the CLI process won't stop but will just accepts queries one after another and returns the results in the CLI output. also assumes that the query has to be read from a file instead of plain input This worker can be set to be created multiple times in the background if one process will throw an error, a backup process was already created and can be used. This is handy if the process won't just prints an error message, but simply exits.
    • Constructor Detail

      • CLIInputFileWorker

        public CLIInputFileWorker​(java.lang.String taskID,
                                  Connection connection,
                                  java.lang.String queriesFile,
                                  java.lang.String initFinished,
                                  java.lang.String queryFinished,
                                  java.lang.String queryError,
                                  java.lang.Integer numberOfProcesses,
                                  java.lang.String directory,
                                  java.lang.Integer timeOut,
                                  java.lang.Integer timeLimit,
                                  java.lang.Integer fixedLatency,
                                  java.lang.Integer gaussianLatency,
                                  java.lang.Integer workerID)