public class AgentController extends Object
public boolean installTsa(InstanceId instanceId, TerracottaServer terracottaServer, boolean offline, License license, String kitInstallationName, Distribution distribution, Topology topology)
public String getTsaInstallPath(InstanceId instanceId, TerracottaServer terracottaServer)
public String getTsaLicensePath(InstanceId instanceId, TerracottaServer terracottaServer)
public boolean installTms(InstanceId instanceId, String tmsHostname, Distribution distribution, boolean offline, License license, TmsServerSecurityConfig tmsServerSecurityConfig, String kitInstallationName, TerracottaCommandLineEnvironment tcEnv)
public void startTms(InstanceId instanceId)
public void stopTms(InstanceId instanceId)
public String getTmsInstallationPath(InstanceId instanceId)
public TerracottaManagementServerState getTmsState(InstanceId instanceId)
public void uninstallTsa(InstanceId instanceId, Topology topology, TerracottaServer terracottaServer, String kitInstallationName)
public void uninstallTms(InstanceId instanceId, Distribution distribution, String kitInstallationName, String tmsHostname)
public void createTsa(InstanceId instanceId, TerracottaServer terracottaServer, TerracottaCommandLineEnvironment tcEnv, List<String> startUpArgs)
public void stopTsa(InstanceId instanceId, TerracottaServer terracottaServer)
public void waitForTsaInState(InstanceId instanceId, TerracottaServer terracottaServer, Set<TerracottaServerState> wanted)
public TerracottaServerState getTsaState(InstanceId instanceId, TerracottaServer terracottaServer)
public Map<ServerSymbolicName,Integer> getProxyGroupPortsForServer(InstanceId instanceId, TerracottaServer terracottaServer)
public void disrupt(InstanceId instanceId, TerracottaServer src, TerracottaServer target)
public void disrupt(InstanceId instanceId, TerracottaServer src, Collection<TerracottaServer> targets)
public void undisrupt(InstanceId instanceId, TerracottaServer src, TerracottaServer target)
public void undisrupt(InstanceId instanceId, TerracottaServer src, Collection<TerracottaServer> targets)
public void configure(InstanceId instanceId, TerracottaServer terracottaServer, Topology topology, Map<ServerSymbolicName,Integer> proxyTsaPorts, String clusterName, SecurityRootDirectory securityRootDirectory, TerracottaCommandLineEnvironment tcEnv, boolean verbose)
public ClusterToolExecutionResult clusterTool(InstanceId instanceId, TerracottaServer terracottaServer, TerracottaCommandLineEnvironment tcEnv, String... arguments)
public ConfigToolExecutionResult configTool(InstanceId instanceId, TerracottaServer terracottaServer, TerracottaCommandLineEnvironment tcEnv, String... arguments)
public ToolExecutionResult serverJcmd(InstanceId instanceId, TerracottaServer terracottaServer, TerracottaCommandLineEnvironment tcEnv, String... arguments)
public ToolExecutionResult clientJcmd(InstanceId instanceId, int clientPid, TerracottaCommandLineEnvironment tcEnv, String... arguments)
public void startHardwareMonitoring(String workingPath, Map<HardwareMetric,MonitoringCommand> commands)
public boolean isMonitoringRunning(HardwareMetric hardwareMetric)
public void stopHardwareMonitoring()
public void stopClient(InstanceId instanceId, int pid)
public void deleteClient(InstanceId instanceId)
public String instanceWorkDir(InstanceId instanceId)
public int spawnClient(InstanceId instanceId, TerracottaCommandLineEnvironment tcEnv)
public void downloadFiles(InstanceId instanceId, File installDir)
public byte[] downloadFile(String file)
public void uploadFile(String filename, byte[] data)
public byte[] downloadFolder(String file)
Copyright © 2020. All rights reserved.