Package co.aikar.timings
Class NullTimingHandler
java.lang.Object
co.aikar.timings.NullTimingHandler
- All Implemented Interfaces:
- Timing,- AutoCloseable
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidabort()voidclose()@Nullable co.aikar.timings.TimingHandlerUsed internally to get the actual backing Handler in the case of delegated HandlersStarts timing the execution untilTiming.stopTiming()is called.Starts timing the execution untilTiming.stopTiming()is called.voidStops timing and records the data.voidStops timing and records the data.
- 
Field Details- 
NULL
 
- 
- 
Constructor Details- 
NullTimingHandlerpublic NullTimingHandler()
 
- 
- 
Method Details- 
startTimingDescription copied from interface:TimingStarts timing the execution untilTiming.stopTiming()is called.- Specified by:
- startTimingin interface- Timing
- Returns:
- Timing
 
- 
stopTimingpublic void stopTiming()Description copied from interface: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- Specified by:
- stopTimingin interface- Timing
 
- 
startTimingIfSyncDescription copied from interface:TimingStarts timing the execution untilTiming.stopTiming()is called. But only if we are on the primary thread.- Specified by:
- startTimingIfSyncin interface- Timing
- Returns:
- Timing
 
- 
stopTimingIfSyncpublic void stopTimingIfSync()Description copied from interface: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.- Specified by:
- stopTimingIfSyncin interface- Timing
 
- 
abortpublic void abort()
- 
getTimingHandlerDescription copied from interface:TimingUsed internally to get the actual backing Handler in the case of delegated Handlers- Specified by:
- getTimingHandlerin interface- Timing
- Returns:
- TimingHandler
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Timing
 
 
-