Class StressTestStartCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncWorldCommand
com.hypixel.hytale.server.core.command.commands.debug.stresstest.StressTestStartCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum(package private) static enum -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static Path(package private) static StressTestStartCommand.DumpTypeprivate final DefaultArg<Double> private final DefaultArg<StressTestStartCommand.DumpType> (package private) static EventRegistration<String, AddPlayerToWorldEvent> private final DefaultArg<Double> private final DefaultArg<Integer> private final DefaultArg<Double> private static final Messageprivate static final Messageprivate static final Stringprivate final OptionalArg<String> private final DefaultArg<Double> private final DefaultArg<Double> private final FlagArgprotected static final AtomicReference<StressTestStartCommand.StressTestState> (package private) static ScheduledFuture<?> (package private) static ScheduledFuture<?> private final OptionalArg<Double> private final DefaultArg<Integer> private final DefaultArg<Double> private final OptionalArg<Double> Fields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<Void> executeAsync(CommandContext context, World world) private static voidstart(String name, World world, BotConfig config, int initCount, double interval, StressTestStartCommand.DumpType dumpType, double dumpInterval, long thresholdNanos, double percentile, boolean shutdown) (package private) static voidstop()Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncWorldCommand
executeAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
execute, runAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, canGeneratePermission, completeRegistration, countParents, generatePermissionNode, getAliases, getDescription, getFullyQualifiedName, getName, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommands, getUsageShort, getUsageString, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requirePermission, setAllowsExtraArguments, setOwner, setPermissionGroup, setPermissionGroups, setUnavailableInSingleplayer, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
STATE
-
NAME_PREFIX
- See Also:
-
BOTS
-
MESSAGE_COMMANDS_STRESS_TEST_ALREADY_STARTED
-
MESSAGE_COMMANDS_STRESS_TEST_STARTED
-
DUMP_TYPE
-
DATE_PATH
-
EVENT_REGISTRATION
-
STRESS_TEST_BOT_TASK
-
STRESS_TEST_DUMP_TASK
-
nameArg
-
initCountArg
-
intervalArg
-
dumptypeArg
-
dumpintervalArg
-
thresholdArg
-
percentileArg
-
viewRadiusArg
-
radiusArg
-
yheightArg
-
yheightMaxArg
-
flySpeedArg
-
shutdownFlag
-
-
Constructor Details
-
StressTestStartCommand
public StressTestStartCommand()
-
-
Method Details
-
executeAsync
@Nonnull protected CompletableFuture<Void> executeAsync(@Nonnull CommandContext context, @Nonnull World world) - Specified by:
executeAsyncin classAbstractAsyncWorldCommand
-
start
private static void start(@Nullable String name, @Nonnull World world, @Nonnull BotConfig config, int initCount, double interval, StressTestStartCommand.DumpType dumpType, double dumpInterval, long thresholdNanos, double percentile, boolean shutdown) throws IOException - Throws:
IOException
-
stop
static void stop()
-