public final class Timer
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static void
static void
static com.amazonaws.serverless.proxy.internal.testutils.Timer.TimerInfo
static Map<String,com.amazonaws.serverless.proxy.internal.testutils.Timer.TimerInfo>
static void
static long
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
start
public static void start(String timerName)
-
stop
public static long stop(String timerName)
-
getTimers
public static Map<String,com.amazonaws.serverless.proxy.internal.testutils.Timer.TimerInfo> getTimers()
-
getTimer
public static com.amazonaws.serverless.proxy.internal.testutils.Timer.TimerInfo getTimer(String timerName)
-
enable
public static void enable()
-
disable
public static void disable()