public final class TimingsManager extends Object
| Modifier and Type | Field | Description | 
|---|---|---|
| static FullServerTickHandler | FULL_SERVER_TICK | |
| static List<String> | hiddenConfigs | |
| static Timing | PLUGIN_GROUP_HANDLER | |
| static boolean | privacy | |
| static co.aikar.timings.TimingHandler | TIMINGS_TICK | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Timing | getCommandTiming(String pluginName,
                Command command) | Due to access restrictions, we need a helper method to get a Command TimingHandler with String group | 
| static Plugin | getPluginByClassloader(Class<?> clazz) | Looks up the class loader for the specified class, and if it is a PluginClassLoader, return the
 Plugin that created this class. | 
public static final FullServerTickHandler FULL_SERVER_TICK
public static final co.aikar.timings.TimingHandler TIMINGS_TICK
public static final Timing PLUGIN_GROUP_HANDLER
public static boolean privacy
@NotNull public static Timing getCommandTiming(@Nullable String pluginName, @NotNull Command command)
Due to access restrictions, we need a helper method to get a Command TimingHandler with String group
Plugins should never call thispluginName - Plugin this command is associated withcommand - Command to get timings for@Nullable public static Plugin getPluginByClassloader(@Nullable Class<?> clazz)
clazz - Class to checkCopyright © 2020. All rights reserved.