java.lang.AutoCloseableFullServerTickHandler, NullTimingHandlerpublic interface Timing
extends java.lang.AutoCloseable
| Modifier and Type | Method | Description | 
|---|---|---|
| void | abort() | Stops timing and disregards current timing data. | 
| void | close() | |
| co.aikar.timings.TimingHandler | getTimingHandler() | Used internally to get the actual backing Handler in the case of delegated Handlers | 
| Timing | startTiming() | Starts timing the execution until  stopTiming()is called. | 
| Timing | startTimingIfSync() | Starts timing the execution until  stopTiming()is called. | 
| void | stopTiming() | Stops timing and records the data. | 
| void | stopTimingIfSync() | Stops timing and records the data. | 
Timing startTiming()
stopTiming() is called.void stopTiming()
Stops timing and records the data. Propagates the data up to group handlers.
Will automatically be called when this Timing is used with try-with-resourcesTiming startTimingIfSync()
stopTiming() is called.
 But only if we are on the primary thread.void stopTimingIfSync()
Stops timing and records the data. Propagates the data up to group handlers.
Will automatically be called when this Timing is used with try-with-resources
But only if we are on the primary thread.void abort()
co.aikar.timings.TimingHandler getTimingHandler()
void close()
close in interface java.lang.AutoCloseableCopyright © 2018. All rights reserved.