public class ConfigTool extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
ConfigTool |
activate() |
ConfigTool |
activate(Map<String,String> env) |
ConfigTool |
attachAll() |
ConfigTool |
attachNode(int stripeIndex,
TerracottaServer newServer) |
ConfigTool |
attachStripe(TerracottaServer... newServers) |
RemoteFolder |
browse(String root) |
void |
close() |
ConfigTool |
detachNode(int stripeIndex,
int serverIndex) |
ConfigTool |
detachStripe(int stripeIndex) |
ToolExecutionResult |
executeCommand(Map<String,String> env,
String... arguments) |
ToolExecutionResult |
executeCommand(String... arguments) |
ConfigTool |
install() |
ConfigTool |
setClientToServerDisruptionLinks(TerracottaServer terracottaServer) |
ConfigTool |
setServerToServerDisruptionLinks(int stripeId,
int size) |
ConfigTool |
uninstall() |
public ToolExecutionResult executeCommand(String... arguments)
public ToolExecutionResult executeCommand(Map<String,String> env, String... arguments)
public ConfigTool attachStripe(TerracottaServer... newServers)
public ConfigTool detachStripe(int stripeIndex)
public ConfigTool attachNode(int stripeIndex, TerracottaServer newServer)
public ConfigTool detachNode(int stripeIndex, int serverIndex)
public ConfigTool attachAll()
public ConfigTool activate(Map<String,String> env)
public ConfigTool activate()
public ConfigTool install()
public ConfigTool uninstall()
public ConfigTool setClientToServerDisruptionLinks(TerracottaServer terracottaServer)
public ConfigTool setServerToServerDisruptionLinks(int stripeId, int size)
public RemoteFolder browse(String root)
public void close()
close in interface AutoCloseableCopyright © 2022. All rights reserved.