public interface AdminCommandRunner
asadmin utility.
While similar to CommandRunner from API of embedded server, these two runners are kept separate due
to backward compatibility reasons.
| Modifier and Type | Method and Description |
|---|---|
ClusterCommandResult |
run(String command,
String... args)
Run an admin command.
|
ClusterCommandResult run(String command, String... args)
command - the name of the commandargs - optional arguments to the command. The arguments need to respect escaping rules of asadmin utility,
chiefly escaping colons (:) and equal signs (=) in property lists.Copyright © 2021. All rights reserved.