public class Tsa extends Object implements AutoCloseable
public TsaConfigurationContext getTsaConfigurationContext()
public DisruptionController getDisruptionController()
public PortAllocator getPortAllocator()
public InstanceId getInstanceId()
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 Tsa create(TerracottaServer terracottaServer, Map<String,String> envOverrides, String... startUpArgs)
public DisruptionController disruptionController()
public Tsa start(TerracottaServer terracottaServer, String... startUpArgs)
public Tsa start(TerracottaServer terracottaServer, Map<String,String> envOverrides, String... startUpArgs)
public Tsa spawn(TerracottaServer terracottaServer, String... startUpArgs)
public Tsa spawn(TerracottaServer terracottaServer, Map<String,String> envOverrides, String... startUpArgs)
public Tsa stopAll()
public Tsa stop(TerracottaServer terracottaServer)
public Map<ServerSymbolicName,Integer> updateToProxiedPorts()
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 Collection<TerracottaServer> waitForPassives(int count) throws InterruptedException
InterruptedExceptionpublic TerracottaServer getPassive()
public TerracottaServer waitForPassive() throws InterruptedException
InterruptedExceptionpublic Collection<TerracottaServer> getActives()
public Collection<TerracottaServer> getServer(ServerSymbolicName symbolicName)
public TerracottaServer getServer(int stripeIndex, int serverIndex)
public Collection<Integer> getStripeIdOf(ServerSymbolicName symbolicName)
public TerracottaServer waitForActive() throws InterruptedException
InterruptedExceptionpublic TerracottaServer getActive()
public Collection<TerracottaServer> getDiagnosticModeSevers()
public TerracottaServer getDiagnosticModeServer()
public URI uri()
public RemoteFolder browse(TerracottaServer terracottaServer, String root)
public RemoteFolder browseFromKitLocation(TerracottaServer terracottaServer, String relativePath)
public void uploadPlugin(File localPluginFile)
public void uploadPlugin(Path localPluginFile)
public void uploadDataDirectories(File localRootPath)
public void uploadDataDirectories(Path localRootPath)
public void downloadDataDirectories(File localRootPath)
public void downloadDataDirectories(Path localRootPath)
public void close()
close in interface AutoCloseableCopyright © 2022. All rights reserved.