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 @NotNull Timing |
TimingsManager.getCommandTiming(@Nullable String pluginName,
@NotNull Command command) |
Due to access restrictions, we need a helper method to get a Command TimingHandler with String group
|
static @NotNull Timing |
Timings.of(@NotNull Plugin plugin,
@NotNull String name) |
Returns a Timing for a plugin corresponding to a name.
|
static @NotNull Timing |
Timings.of(@NotNull Plugin plugin,
@NotNull String name,
@Nullable Timing groupHandler) |
Returns a handler that has a groupHandler timer handler.
|
static @NotNull Timing |
Timings.ofStart(@NotNull Plugin plugin,
@NotNull String name) |
Returns a Timing object after starting it, useful for Java7 try-with-resources.
|
static @NotNull Timing |
Timings.ofStart(@NotNull Plugin plugin,
@NotNull String name,
@Nullable Timing groupHandler) |
Returns a Timing object after starting it, useful for Java7 try-with-resources.
|
@NotNull Timing |
FullServerTickHandler.startTiming() |
|
@NotNull Timing |
NullTimingHandler.startTiming() |
|
@NotNull Timing |
Timing.startTiming() |
Starts timing the execution until
stopTiming() is called. |
@NotNull Timing |
NullTimingHandler.startTimingIfSync() |
|
@NotNull Timing |
Timing.startTimingIfSync() |
Starts timing the execution until
stopTiming() is called. |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull Timing |
Timings.of(@NotNull Plugin plugin,
@NotNull String name,
@Nullable Timing groupHandler) |
Returns a handler that has a groupHandler timer handler.
|
static @NotNull Timing |
Timings.ofStart(@NotNull Plugin plugin,
@NotNull String name,
@Nullable Timing groupHandler) |
Returns a Timing object after starting it, useful for Java7 try-with-resources.
|
Modifier and Type | Field | Description |
---|---|---|
Timing |
Command.timings |
Copyright © 2020. All rights reserved.