public class Tsa extends Object implements AutoCloseable
public TsaConfigurationContext getTsaConfigurationContext()
public ClusterTool clusterTool(TerracottaServer terracottaServer)
public ConfigTool configTool(TerracottaServer terracottaServer)
public String licensePath(TerracottaServer terracottaServer)
public Tsa upgrade(TerracottaServer server, Distribution newDistribution)
public Jcmd jcmd(TerracottaServer terracottaServer)
public Tsa create(TerracottaServer terracottaServer, String... startUpArgs)
public DisruptionController disruptionController()
public Tsa start(TerracottaServer terracottaServer, String... startUpArgs)
public Tsa stopAll()
public Tsa stop(TerracottaServer terracottaServer)
public Tsa licenseAll()
public Tsa licenseAll(SecurityRootDirectory securityRootDirectory)
public Tsa licenseAll(SecurityRootDirectory securityRootDirectory, boolean verbose)
public Map<ServerSymbolicName,Integer> updateToProxiedPorts()
public Tsa activateAll()
public TerracottaServerState getState(TerracottaServer terracottaServer)
public Map<ServerSymbolicName,Integer> getProxyGroupPortsForServer(TerracottaServer terracottaServer)
public Collection<TerracottaServer> getStarted()
public Collection<TerracottaServer> getStopped()
public Collection<TerracottaServer> getPassives()
public TerracottaServer getPassive()
public Collection<TerracottaServer> getActives()
public Collection<TerracottaServer> getServer(ServerSymbolicName symbolicName)
public TerracottaServer getServer(int stripeIndex, int serverIndex)
public Collection<Integer> getStripeIdOf(ServerSymbolicName symbolicName)
public TerracottaServer getActive()
public Collection<TerracottaServer> getDiagnosticModeSevers()
public TerracottaServer getDiagnosticModeServer()
public URI uri()
public RemoteFolder browse(TerracottaServer terracottaServer, String root)
public void uploadPlugin(File localPluginFile)
public void uploadDataDirectories(File localRootPath)
public void downloadDataDirectories(File localRootPath)
public List<ConfigToolExecutionResult> attachStripe(TerracottaServer... newServers)
public ConfigToolExecutionResult detachStripe(int stripeIndex)
public ConfigToolExecutionResult attachNode(int stripeIndex, TerracottaServer newServer)
public ConfigToolExecutionResult detachNode(int stripeIndex, int serverIndex)
public Tsa attachAll()
public void close()
close in interface AutoCloseableCopyright © 2020. All rights reserved.