Search in sources :

Example 6 with TimedAction

use of org.apache.asterix.experiment.action.derived.TimedAction in project asterixdb by apache.

the class AbstractExperiment8Builder method doBuildProtocolAction.

protected void doBuildProtocolAction(SequentialActionList seq, int round) throws Exception {
    for (int i = 0; i < nQueryRuns; ++i) {
        //            String aql = getPointLookUpAQL(round);
        //            seq.add(new TimedAction(new RunAQLStringAction(httpClient, restHost, restPort, aql)));
        String aql = getRangeAQL(round);
        seq.add(new TimedAction(new RunAQLStringAction(httpClient, restHost, restPort, aql)));
    }
}
Also used : RunAQLStringAction(org.apache.asterix.experiment.action.derived.RunAQLStringAction) TimedAction(org.apache.asterix.experiment.action.derived.TimedAction)

Aggregations

TimedAction (org.apache.asterix.experiment.action.derived.TimedAction)6 SequentialActionList (org.apache.asterix.experiment.action.base.SequentialActionList)5 RunAQLStringAction (org.apache.asterix.experiment.action.derived.RunAQLStringAction)4 RunAQLFileAction (org.apache.asterix.experiment.action.derived.RunAQLFileAction)3 SleepAction (org.apache.asterix.experiment.action.derived.SleepAction)3 BufferedReader (java.io.BufferedReader)2 File (java.io.File)2 FileReader (java.io.FileReader)2 ArrayList (java.util.ArrayList)2 HashSet (java.util.HashSet)2 List (java.util.List)2 JAXBContext (javax.xml.bind.JAXBContext)2 Unmarshaller (javax.xml.bind.Unmarshaller)2 Cluster (org.apache.asterix.event.schema.cluster.Cluster)2 IAction (org.apache.asterix.experiment.action.base.IAction)2 ParallelActionSet (org.apache.asterix.experiment.action.base.ParallelActionSet)2 AbstractRemoteExecutableAction (org.apache.asterix.experiment.action.derived.AbstractRemoteExecutableAction)2 LogAsterixManagixAction (org.apache.asterix.experiment.action.derived.ManagixActions.LogAsterixManagixAction)2 StopAsterixManagixAction (org.apache.asterix.experiment.action.derived.ManagixActions.StopAsterixManagixAction)2 RemoteAsterixDriverKill (org.apache.asterix.experiment.action.derived.RemoteAsterixDriverKill)2