Class DiskBenchmark
java.lang.Object
org.apache.activemq.store.kahadb.disk.util.DiskBenchmark
This class is used to get a benchmark the raw disk performance.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBs()longlonggetSize()booleanstatic voidvoidsetBs(int bs) voidsetSampleInterval(long sampleInterval) voidsetSize(long size) voidsetVerbose(boolean verbose)
-
Constructor Details
-
DiskBenchmark
public DiskBenchmark()
-
-
Method Details
-
main
-
benchmark
- Throws:
Exception
-
isVerbose
public boolean isVerbose() -
setVerbose
public void setVerbose(boolean verbose) -
getBs
public int getBs() -
setBs
public void setBs(int bs) -
getSize
public long getSize() -
setSize
public void setSize(long size) -
getSampleInterval
public long getSampleInterval() -
setSampleInterval
public void setSampleInterval(long sampleInterval)
-