Package co.aikar.timings
Class TimingsManager
java.lang.Object
co.aikar.timings.TimingsManager
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will likely be replaced with Spark in the future
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final FullServerTickHandlerDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.static final TimingDeprecated, for removal: This API element is subject to removal in a future version.static booleanDeprecated, for removal: This API element is subject to removal in a future version.static final co.aikar.timings.TimingHandlerDeprecated, for removal: This API element is subject to removal in a future version.static StringDeprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptiongetCommandTiming(@Nullable String pluginName, @NotNull Command command) Deprecated, for removal: This API element is subject to removal in a future version.Due to access restrictions, we need a helper method to get a Command TimingHandler with String groupgetPluginByClassloader(@Nullable Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.Looks up the class loader for the specified class, and if it is a PluginClassLoader, return the Plugin that created this class.
- 
Field Details- 
FULL_SERVER_TICKDeprecated, for removal: This API element is subject to removal in a future version.
- 
TIMINGS_TICKpublic static final co.aikar.timings.TimingHandler TIMINGS_TICKDeprecated, for removal: This API element is subject to removal in a future version.
- 
PLUGIN_GROUP_HANDLERDeprecated, for removal: This API element is subject to removal in a future version.
- 
urlDeprecated, for removal: This API element is subject to removal in a future version.
- 
privacypublic static boolean privacyDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
getCommandTiming@NotNull public static @NotNull Timing getCommandTiming(@Nullable @Nullable String pluginName, @NotNull @NotNull Command command) Deprecated, for removal: This API element is subject to removal in a future version.Due to access restrictions, we need a helper method to get a Command TimingHandler with String group Plugins should never call this- Parameters:
- pluginName- Plugin this command is associated with
- command- Command to get timings for
- Returns:
- TimingHandler
 
- 
getPluginByClassloaderDeprecated, for removal: This API element is subject to removal in a future version.Looks up the class loader for the specified class, and if it is a PluginClassLoader, return the Plugin that created this class.- Parameters:
- clazz- Class to check
- Returns:
- Plugin if created by a plugin
 
 
-