Class DiskBenchmark
- java.lang.Object
-
- org.apache.activemq.store.kahadb.disk.util.DiskBenchmark
-
public class DiskBenchmark extends Object
This class is used to get a benchmark the raw disk performance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiskBenchmark.Report
-
Constructor Summary
Constructors Constructor Description DiskBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskBenchmark.Report
benchmark(File file)
int
getBs()
long
getSampleInterval()
long
getSize()
boolean
isVerbose()
static void
main(String[] args)
void
setBs(int bs)
void
setSampleInterval(long sampleInterval)
void
setSize(long size)
void
setVerbose(boolean verbose)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
benchmark
public DiskBenchmark.Report benchmark(File file) throws Exception
- 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)
-
-