public class PerfCounter extends Object
Constructor and Description |
---|
PerfCounter() |
Modifier and Type | Method and Description |
---|---|
static void |
end(String operation)
Record the end of the operation.
|
static void |
end(String operation,
long slowThresholdNano)
Record the end of the operation.
|
static void |
inc(String operation)
Increment counter.
|
static void |
print() |
static void |
start(String operation)
Start operation.
|
public static void end(String operation)
public static void end(String operation, long slowThresholdNano)
public static void inc(String operation)
public static void print()
public static void start(String operation)
Copyright © 2018. All rights reserved.