public abstract class OBaseWorkload extends Object implements OWorkload
Modifier and Type | Class and Description |
---|---|
class |
OBaseWorkload.OBaseWorkLoadContext |
class |
OBaseWorkload.OWorkLoadResult |
Modifier and Type | Field and Description |
---|---|
protected OStorageRemote.CONNECTION_STRATEGY |
connectionStrategy |
protected List<String> |
errors |
protected static long |
MAX_ERRORS |
Constructor and Description |
---|
OBaseWorkload() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
beginTransaction(OBaseWorkload.OBaseWorkLoadContext context) |
protected abstract void |
commitTransaction(OBaseWorkload.OBaseWorkLoadContext context) |
protected List<OBaseWorkload.OBaseWorkLoadContext> |
executeOperation(ODatabaseIdentifier dbIdentifier,
OBaseWorkload.OWorkLoadResult result,
OStressTesterSettings settings,
OCallable<Void,OBaseWorkload.OBaseWorkLoadContext> callback) |
protected abstract OBaseWorkload.OBaseWorkLoadContext |
getContext() |
protected String |
getErrors() |
protected int |
getPercentile(Long[] sortedResults,
long time) |
protected void |
manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context,
ONeedRetryException e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getFinalResult, getFinalResultAsJson, getName, getPartialResult, parseParameters
protected OStorageRemote.CONNECTION_STRATEGY connectionStrategy
protected static final long MAX_ERRORS
protected List<OBaseWorkload.OBaseWorkLoadContext> executeOperation(ODatabaseIdentifier dbIdentifier, OBaseWorkload.OWorkLoadResult result, OStressTesterSettings settings, OCallable<Void,OBaseWorkload.OBaseWorkLoadContext> callback)
protected void manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context, ONeedRetryException e)
protected abstract void beginTransaction(OBaseWorkload.OBaseWorkLoadContext context)
protected abstract void commitTransaction(OBaseWorkload.OBaseWorkLoadContext context)
protected abstract OBaseWorkload.OBaseWorkLoadContext getContext()
protected String getErrors()
protected int getPercentile(Long[] sortedResults, long time)
Copyright © 2009–2020 OrientDB. All rights reserved.