Package | Description |
---|---|
co.aikar.timings | |
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
Modifier and Type | Class and Description |
---|---|
class |
FullServerTickHandler |
class |
NullTimingHandler |
Modifier and Type | Field and Description |
---|---|
static Timing |
Timings.NULL_HANDLER |
static Timing |
TimingsManager.PLUGIN_GROUP_HANDLER |
Modifier and Type | Method and Description |
---|---|
static Timing |
TimingsManager.getCommandTiming(String pluginName,
Command command)
Due to access restrictions, we need a helper method to get a Command TimingHandler with String group
|
static Timing |
Timings.of(Plugin plugin,
String name)
Returns a Timing for a plugin corresponding to a name.
|
static Timing |
Timings.of(Plugin plugin,
String name,
Timing groupHandler)
Returns a handler that has a groupHandler timer handler.
|
static Timing |
Timings.ofStart(Plugin plugin,
String name)
Returns a Timing object after starting it, useful for Java7 try-with-resources.
|
static Timing |
Timings.ofStart(Plugin plugin,
String name,
Timing groupHandler)
Returns a Timing object after starting it, useful for Java7 try-with-resources.
|
Timing |
NullTimingHandler.startTiming() |
Timing |
FullServerTickHandler.startTiming() |
Timing |
Timing.startTiming()
Starts timing the execution until
stopTiming() is called. |
Timing |
NullTimingHandler.startTimingIfSync() |
Timing |
Timing.startTimingIfSync()
Starts timing the execution until
stopTiming() is called. |
Modifier and Type | Method and Description |
---|---|
static Timing |
Timings.of(Plugin plugin,
String name,
Timing groupHandler)
Returns a handler that has a groupHandler timer handler.
|
static Timing |
Timings.ofStart(Plugin plugin,
String name,
Timing groupHandler)
Returns a Timing object after starting it, useful for Java7 try-with-resources.
|
Modifier and Type | Field and Description |
---|---|
Timing |
Command.timings |
Copyright © 2021. All rights reserved.