| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final Level | |
| private long | |
| private long |
| Modifier and Type | Method and Description |
|---|---|
| public static Timer | Returns: a newTimer instance if the TIMING logging level is FINE, otherwise,
return null;
|
| public static Timer | |
| private long | |
| public void | |
| public void | |
| public void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| logLevel | back to summary |
|---|---|
| private final Level logLevel | |
| start | back to summary |
|---|---|
| private long start | |
| stop | back to summary |
|---|---|
| private long stop | |
| Timer | back to summary |
|---|---|
| private Timer(final Level logLevel) | |
| getInstance | back to summary |
|---|---|
public static Timer getInstance()
| |
| getInstance | back to summary |
|---|---|
| public static Timer getInstance(Level logLevel) | |
| getTimingResult | back to summary |
|---|---|
private long getTimingResult()
| |
| logResult | back to summary |
|---|---|
| public void logResult(String taskInfo) Log the timing result.
| |
| startTiming | back to summary |
|---|---|
| public void startTiming() Start timing. | |
| stopTiming | back to summary |
|---|---|
| public void stopTiming() Stop timing. | |