Package co.aikar.timings
Class NullTimingHandler
java.lang.Object
co.aikar.timings.NullTimingHandler
- All Implemented Interfaces:
- Timing,- AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionvoidabort()Deprecated, for removal: This API element is subject to removal in a future version.voidclose()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable co.aikar.timings.TimingHandlerDeprecated, for removal: This API element is subject to removal in a future version.Used internally to get the actual backing Handler in the case of delegated HandlersDeprecated, for removal: This API element is subject to removal in a future version.Starts timing the execution untilTiming.stopTiming()is called.Deprecated, for removal: This API element is subject to removal in a future version.Starts timing the execution untilTiming.stopTiming()is called.voidDeprecated, for removal: This API element is subject to removal in a future version.Stops timing and records the data.voidDeprecated, for removal: This API element is subject to removal in a future version.Stops timing and records the data.
- 
Field Details- 
NULLDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Constructor Details- 
NullTimingHandlerpublic NullTimingHandler()Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
startTimingDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TimingStarts timing the execution untilTiming.stopTiming()is called.- Specified by:
- startTimingin interface- Timing
- Returns:
- Timing
 
- 
stopTimingpublic void stopTiming()Deprecated, for removal: This API element is subject to removal in a future version.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
 
- 
startTimingIfSyncDeprecated, for removal: This API element is subject to removal in a future version.Description 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()Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.
- 
getTimingHandlerDeprecated, for removal: This API element is subject to removal in a future version.Description 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()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Timing
 
 
-