public final class PerformanceUtils
extends java.lang.Object
| Constructor and Description |
|---|
PerformanceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getCurrentTime() |
static void |
logMbps(long startTime,
long endTime,
long totalBytes,
java.lang.String objName,
boolean isPutCommand) |
static void |
logMbpsStatus(long startTime,
long curTime,
long curBytes,
java.lang.String objName,
boolean isPutCommand)
Logs the current status of a get/put command
|
public static long getCurrentTime()
public static void logMbps(long startTime,
long endTime,
long totalBytes,
java.lang.String objName,
boolean isPutCommand)
public static void logMbpsStatus(long startTime,
long curTime,
long curBytes,
java.lang.String objName,
boolean isPutCommand)