public class SyncCalculation extends Object
Constructor and Description |
---|
SyncCalculation() |
Modifier and Type | Method and Description |
---|---|
static long |
syncTest(File datafolder,
int blockSize,
int blocks,
int tries,
boolean verbose,
boolean aio)
It will perform a write test of blockSize * bocks, sinc on each write, for N tries.
|
static long |
toNanos(long time,
long blocks) |
public static long syncTest(File datafolder, int blockSize, int blocks, int tries, boolean verbose, boolean aio) throws Exception
Exception
public static long toNanos(long time, long blocks)
Copyright © 2016 The Apache Software Foundation. All rights reserved.