public abstract class BenchmarkExecutor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPKEY_BENCHMARK |
| Constructor and Description |
|---|
BenchmarkExecutor(String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
account(int all,
int failed) |
void |
close() |
void |
execute() |
long |
getErrorAccout() |
protected int |
getRealAccount(int account) |
protected static long |
getSecureIndex() |
protected abstract Runnable |
getTestor() |
int |
getThreads() |
boolean |
isInterrupted() |
protected void |
printHeader() |
protected void |
printStatus() |
protected void |
printSummary() |
protected void |
resetStartTime() |
void |
setDuration(String duration) |
void |
setThreads(int threads) |
void |
setUnit(String unit) |
protected boolean |
stop() |
public static final String PROPKEY_BENCHMARK
public BenchmarkExecutor(String description)
protected int getRealAccount(int account)
public void close()
public void execute()
public boolean isInterrupted()
public void setDuration(String duration)
public void setThreads(int threads)
public long getErrorAccout()
public void account(int all,
int failed)
public int getThreads()
protected void resetStartTime()
protected boolean stop()
protected void printHeader()
protected void printStatus()
public void setUnit(String unit)
protected void printSummary()
protected static long getSecureIndex()
Copyright © 2018. All rights reserved.