public class TerracottaServerInstance extends Object implements Closeable
| Constructor and Description |
|---|
TerracottaServerInstance(TerracottaServer terracottaServer,
File kitDir,
File workingDir,
License license,
Distribution distribution,
Topology topology,
PortAllocator portAllocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
create(TerracottaCommandLineEnvironment env,
Map<String,String> envOverrides,
List<String> startUpArgs,
Duration inactivityKillerDelay) |
void |
disrupt(Collection<TerracottaServer> targets) |
Distribution |
getDistribution() |
File |
getKitDir() |
File |
getLicenseFileLocation() |
Map<ServerSymbolicName,Integer> |
getProxiedPorts() |
TerracottaServerState |
getTerracottaServerState() |
File |
getWorkingDir() |
ToolExecutionResult |
jcmd(TerracottaCommandLineEnvironment env,
String... arguments) |
void |
stop() |
void |
undisrupt(Collection<TerracottaServer> targets) |
void |
waitForState(Set<TerracottaServerState> terracottaServerStates) |
public TerracottaServerInstance(TerracottaServer terracottaServer, File kitDir, File workingDir, License license, Distribution distribution, Topology topology, PortAllocator portAllocator)
public Map<ServerSymbolicName,Integer> getProxiedPorts()
public Distribution getDistribution()
public void create(TerracottaCommandLineEnvironment env, Map<String,String> envOverrides, List<String> startUpArgs, Duration inactivityKillerDelay)
public void disrupt(Collection<TerracottaServer> targets)
public void undisrupt(Collection<TerracottaServer> targets)
public void stop()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic ToolExecutionResult jcmd(TerracottaCommandLineEnvironment env, String... arguments)
public void waitForState(Set<TerracottaServerState> terracottaServerStates)
public TerracottaServerState getTerracottaServerState()
public File getKitDir()
public File getWorkingDir()
public File getLicenseFileLocation()
Copyright © 2022. All rights reserved.