Timing, java.lang.AutoCloseablepublic class FullServerTickHandler
extends java.lang.Object
| Modifier and Type | Method | Description | 
|---|---|---|
| void | abort() | Stops timing and disregards current timing data. | 
| void | close() | This is simply for the Closeable interface so it can be used with
 try-with-resources () | 
| boolean | equals(java.lang.Object o) | |
| co.aikar.timings.TimingHandler | getTimingHandler() | Used internally to get the actual backing Handler in the case of delegated Handlers | 
| int | hashCode() | |
| boolean | isEnabled() | |
| boolean | isSpecial() | |
| Timing | startTiming() | Starts timing the execution until  Timing.stopTiming()is called. | 
| Timing | startTimingIfSync() | Starts timing the execution until  Timing.stopTiming()is called. | 
| void | stopTiming() | Stops timing and records the data. | 
| void | stopTimingIfSync() | Stops timing and records the data. | 
public Timing startTiming()
TimingTiming.stopTiming() is called.startTiming in interface Timingpublic void stopTiming()
TimingStops timing and records the data. Propagates the data up to group handlers.
Will automatically be called when this Timing is used with try-with-resourcesstopTiming in interface Timingpublic Timing startTimingIfSync()
TimingTiming.stopTiming() is called.
 But only if we are on the primary thread.startTimingIfSync in interface Timingpublic void stopTimingIfSync()
TimingStops 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.stopTimingIfSync in interface Timingpublic void abort()
Timingpublic co.aikar.timings.TimingHandler getTimingHandler()
TiminggetTimingHandler in interface Timingpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void close()
public boolean isSpecial()
public boolean isEnabled()
Copyright © 2018. All rights reserved.