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.
|
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 © 2022. All rights reserved.