public class Timer extends Object
Modifier and Type | Method and Description |
---|---|
static Timer |
getInstance() |
static Timer |
getInstance(Level logLevel) |
void |
logResult(String taskInfo)
Log the timing result.
|
void |
startTiming()
Start timing.
|
void |
stopTiming()
Stop timing.
|
public static Timer getInstance()
Timer
instance if the TIMING
logging level is FINE
, otherwise, return null;public void startTiming()
public void stopTiming()
public void logResult(String taskInfo)
taskInfo
- task descriptionComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.