public class OGraphInsertWorkload extends OBaseGraphWorkload
OBaseGraphWorkload.OWorkLoadContext
OBaseWorkload.OBaseWorkLoadContext, OBaseWorkload.OWorkLoadResult
connectionStrategy, errors, MAX_ERRORS
Constructor and Description |
---|
OGraphInsertWorkload() |
Modifier and Type | Method and Description |
---|---|
void |
execute(OStressTesterSettings settings,
ODatabaseIdentifier databaseIdentifier) |
protected OBaseWorkload.OBaseWorkLoadContext |
getContext() |
int |
getFactor() |
String |
getFinalResult() |
String |
getFinalResultAsJson() |
String |
getName() |
String |
getPartialResult() |
int |
getVertices() |
protected void |
manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context,
ONeedRetryException e) |
void |
parseParameters(String args) |
beginTransaction, check, commitTransaction, getGraph, getGraphNoTx
executeOperation, getErrors, getPercentile
public String getName()
public void parseParameters(String args)
public void execute(OStressTesterSettings settings, ODatabaseIdentifier databaseIdentifier)
protected void manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context, ONeedRetryException e)
manageNeedRetryException
in class OBaseWorkload
public String getPartialResult()
public String getFinalResult()
public String getFinalResultAsJson()
protected OBaseWorkload.OBaseWorkLoadContext getContext()
getContext
in class OBaseGraphWorkload
public int getVertices()
public int getFactor()
Copyright © 2009–2020 OrientDB. All rights reserved.