|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.operations.AbstractOperation
public abstract class AbstractOperation
Abstract implementation of a test operation
Constructor Summary | |
---|---|
AbstractOperation(String name)
Creates a new operation |
Method Summary | |
---|---|
int |
getId()
Gets the ID used to identify the operation within an operation mix (if known) |
String |
getName()
Gets the name of the operation |
OperationStats |
getStats()
Gets statistics for the operation |
void |
setId(int id)
Sets the ID used to identify the operation within an operation mix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.sparql.benchmarking.operations.Operation |
---|
canRun, createCallable, createErrorInformation, getContentString, getType |
Constructor Detail |
---|
public AbstractOperation(String name)
name
- Name of the operationMethod Detail |
---|
public OperationStats getStats()
Operation
getStats
in interface Operation
public String getName()
Operation
In the 1.x releases this was almost always the filename but in the 2.x code base this is often a friendly user defined name
getName
in interface Operation
public int getId()
Operation
getId
in interface Operation
public void setId(int id)
Operation
setId
in interface Operation
id
- ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |