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 classDiskBenchmark.Report
-
Constructor Summary
Constructors Constructor Description DiskBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskBenchmark.Reportbenchmark(File file)intgetBs()longgetSampleInterval()longgetSize()booleanisVerbose()static voidmain(String[] args)voidsetBs(int bs)voidsetSampleInterval(long sampleInterval)voidsetSize(long size)voidsetVerbose(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)
-
-