org.apache.activemq.store.kahadb.disk.util
Class DiskBenchmark

java.lang.Object
  extended by 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
static class DiskBenchmark.Report
           
 
Constructor Summary
DiskBenchmark()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskBenchmark

public DiskBenchmark()
Method Detail

main

public static void main(String[] args)

benchmark

public DiskBenchmark.Report benchmark(File file)
                               throws IOException
Throws:
IOException

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)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.