|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.util.MixOperation
public class MixOperation
An operation that runs an entire operation mix
| Constructor Summary | |
|---|---|
MixOperation(String name,
OperationMix mix)
Creates a new mix operation |
|
MixOperation(String name,
OperationMix mix,
boolean randomOrder)
Creates a new mix operation |
|
| Method Summary | ||
|---|---|---|
|
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options |
|
|
createCallable(Runner<T> runner,
T options)
Creates the callable for running the operation in a background thread |
|
OperationRun |
createErrorInformation(String message,
int category,
long runtime)
Creates run information for an error |
|
String |
getContentString()
Gets a string that shows the content of the operation e.g. |
|
String |
getType()
Gets a descriptive type string for the operation e.g. |
|
| Methods inherited from class net.sf.sparql.benchmarking.operations.AbstractOperation |
|---|
getId, getName, getStats, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MixOperation(String name,
OperationMix mix)
name - Namemix - Mix
public MixOperation(String name,
OperationMix mix,
boolean randomOrder)
name - Namemix - MixrandomOrder - Whether to randomize the order of operations| Method Detail |
|---|
public <T extends Options> boolean canRun(Runner<T> runner,
T options)
Operation
runner - Runneroptions - Options
public String getType()
Operation
public String getContentString()
Operation
public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner,
T options)
Operation
runner - Runneroptions - Options
public OperationRun createErrorInformation(String message,
int category,
long runtime)
Operation
message - Error messagecategory - Error categoryruntime - Runtime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||