Class OGraphInsertWorkload
java.lang.Object
com.orientechnologies.orient.stresstest.workload.OBaseWorkload
com.orientechnologies.orient.graph.stresstest.OBaseGraphWorkload
com.orientechnologies.orient.graph.stresstest.OGraphInsertWorkload
- All Implemented Interfaces:
OCheckWorkload,OWorkload
CRUD implementation of the workload.
- Author:
- Luca Garulli
-
Nested Class Summary
Nested classes/interfaces inherited from class com.orientechnologies.orient.graph.stresstest.OBaseGraphWorkload
OBaseGraphWorkload.OWorkLoadContextNested classes/interfaces inherited from class com.orientechnologies.orient.stresstest.workload.OBaseWorkload
OBaseWorkload.OBaseWorkLoadContext, OBaseWorkload.OWorkLoadResult -
Field Summary
Fields inherited from class com.orientechnologies.orient.stresstest.workload.OBaseWorkload
connectionStrategy, errors, MAX_ERRORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(OStressTesterSettings settings, ODatabaseIdentifier databaseIdentifier) protected OBaseWorkload.OBaseWorkLoadContextintgetName()intprotected voidvoidparseParameters(String args) Methods inherited from class com.orientechnologies.orient.graph.stresstest.OBaseGraphWorkload
beginTransaction, check, commitTransaction, getGraph, getGraphNoTxMethods inherited from class com.orientechnologies.orient.stresstest.workload.OBaseWorkload
executeOperation, getErrors, getPercentile
-
Constructor Details
-
OGraphInsertWorkload
public OGraphInsertWorkload()
-
-
Method Details
-
getName
-
parseParameters
-
execute
-
manageNeedRetryException
protected void manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context, ONeedRetryException e) - Overrides:
manageNeedRetryExceptionin classOBaseWorkload
-
getPartialResult
-
getFinalResult
-
getFinalResultAsJson
-
getContext
- Overrides:
getContextin classOBaseGraphWorkload
-
getVertices
public int getVertices() -
getFactor
public int getFactor()
-