|
||||||||||
| 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 operation| Method Detail |
|---|
public OperationStats getStats()
Operation
getStats in interface Operationpublic String getName()
OperationIn 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 Operationpublic int getId()
Operation
getId in interface Operationpublic void setId(int id)
Operation
setId in interface Operationid - ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||