public class DiskBenchmark extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DiskBenchmark.Report |
Constructor and Description |
---|
DiskBenchmark() |
Modifier and Type | Method and 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) |
public DiskBenchmark()
public DiskBenchmark.Report benchmark(File file) throws IOException
IOException
public boolean isVerbose()
public void setVerbose(boolean verbose)
public int getBs()
public void setBs(int bs)
public long getSize()
public void setSize(long size)
public long getSampleInterval()
public void setSampleInterval(long sampleInterval)
Copyright © 2005–2017. All rights reserved.