public static class StressTestConcurrentUnisolatedIndices.WriteTask extends AbstractTask<Void>
AbstractTask.DelegateTask<T>, AbstractTask.InnerReadWriteTxServiceCallable<T>, AbstractTask.InnerWriteServiceCallable<T>, AbstractTask.ResubmitExceptioncheckpointNanoTime, concurrencyManager, isReadWriteTx, log, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, resourceManager, taskCounters, timestamp, transactionManager, tx| Constructor and Description |
|---|
StressTestConcurrentUnisolatedIndices.WriteTask(IConcurrencyManager concurrencyManager,
String[] resource,
int trial,
int keyLen,
int nops,
double failureRate,
ConcurrentHashMap<String,Thread> btrees) |
| Modifier and Type | Method and Description |
|---|---|
Void |
doTask()
Executes random operation on a named unisolated index.
|
protected String |
getTaskName()
Returns the name of the class by default.
|
assertResource, assertRunning, assertUnisolated, call, clearLoggingContext, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTimestamp, isResource, registerIndex, setupLoggingContext, toStringpublic StressTestConcurrentUnisolatedIndices.WriteTask(IConcurrencyManager concurrencyManager, String[] resource, int trial, int keyLen, int nops, double failureRate, ConcurrentHashMap<String,Thread> btrees)
protected String getTaskName()
AbstractTaskgetTaskName in class AbstractTask<Void>public Void doTask() throws Exception
doTask in class AbstractTask<Void>Exception - The exception that will be thrown by AbstractTask.call() iff the
operation fails.InterruptedException - This exception SHOULD be thrown if
Thread.interrupted() becomes true during
execution.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.