Package | Description |
---|---|
co.aikar.timings | |
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
Modifier and Type | Class | Description |
---|---|---|
class |
FullServerTickHandler |
|
class |
NullTimingHandler |
Modifier and Type | Field | Description |
---|---|---|
static Timing |
NullTimingHandler.NULL |
|
static Timing |
Timings.NULL_HANDLER |
|
static Timing |
TimingsManager.PLUGIN_GROUP_HANDLER |
Modifier and Type | Method | 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 |
FullServerTickHandler.startTiming() |
|
Timing |
NullTimingHandler.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 | 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 | Description |
---|---|---|
Timing |
Command.timings |
Copyright © 2019. All rights reserved.