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 fsync,
JournalType journalType)
It will perform a write test of blockSize * bocks, sinc on each write, for N tries.
|
static long |
toNanos(long time,
long blocks,
boolean verbose) |
public static long syncTest(File datafolder, int blockSize, int blocks, int tries, boolean verbose, boolean fsync, JournalType journalType) throws Exception
Exception
public static long toNanos(long time, long blocks, boolean verbose)
Copyright © 2017 JBoss by Red Hat. All rights reserved.