@ThreadSafe public final class ExtensionsShellUtils extends Object
ExtensionsShell
.Modifier and Type | Method and Description |
---|---|
static List<String> |
getMasterHostnames()
Gets list of masters in conf directory.
|
static Set<String> |
getServerHostnames()
Gets list of masters/workers in conf directory.
|
static List<String> |
getWorkerHostnames()
Gets list of workers in conf directory.
|
static Map<String,Command> |
loadCommands()
Gets all
Command instances in the same package as ExtensionsShell and loads
them into a map. |
public static Map<String,Command> loadCommands()
Command
instances in the same package as ExtensionsShell
and loads
them into a map.public static List<String> getMasterHostnames()
public static Set<String> getServerHostnames()
Copyright © 2023. All Rights Reserved.