public class BootResinConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BootResinConfig.ConfigVar |
Modifier and Type | Method and Description |
---|---|
void |
add(AdminAuthenticator auth) |
void |
addClient(com.caucho.boot.WatchdogClient client)
Finds a server.
|
void |
addCluster(BootClusterProxy proxy) |
void |
addClusterDefault(ContainerProgram program)
Adds a new default to the cluster.
|
void |
addContentProgram(ConfigProgram program)
Ignore items we can't understand.
|
void |
addServer(com.caucho.boot.WatchdogConfig config)
Finds a server.
|
void |
addSystemProperty(SystemProperty property) |
BootManagementConfig |
createManagement() |
com.caucho.boot.WatchdogManagerConfig |
createWatchdogManager()
Creates the watchdog-manager config
|
void |
fillLocalClients(java.util.ArrayList<com.caucho.boot.WatchdogClient> clientList) |
com.caucho.boot.WatchdogClient |
findClient(java.lang.String id)
Finds a server.
|
com.caucho.boot.WatchdogClient |
findClientByAddress(java.lang.String address,
int port)
Finds a server.
|
java.util.ArrayList<java.lang.String> |
findLocalClientIds(java.lang.String serverId) |
java.util.ArrayList<com.caucho.boot.WatchdogClient> |
findLocalClients(java.lang.String serverId) |
com.caucho.boot.WatchdogConfig |
findServer(java.lang.String id)
Finds a server.
|
com.caucho.boot.WatchdogClient |
findWatchdogClient(java.lang.String clusterId)
Finds a server.
|
java.lang.String |
getClusterSystemKey() |
int |
getElasticServerPort() |
int |
getElasticServerPort(com.caucho.boot.WatchdogArgs arg,
int count) |
java.util.ArrayList<com.caucho.boot.BootResinConfig.ElasticServer> |
getElasticServers() |
java.lang.String |
getHomeCluster() |
java.lang.String |
getHomeServer() |
Path |
getLogDirectory() |
BootManagementConfig |
getManagement()
The management configuration
|
int |
getNextIndex() |
Path |
getResinDataDirectory() |
Path |
getResinHome() |
Path |
getRootDirectory() |
boolean |
isElasticDns() |
boolean |
isElasticServer() |
boolean |
isHomeCluster() |
static boolean |
isLocalClient(java.util.ArrayList<java.net.InetAddress> localAddresses,
com.caucho.boot.WatchdogConfig config) |
boolean |
isWatchdogManagerConfig()
Returns true if there is a
|
void |
setClusterSystemKey(java.lang.String digest) |
void |
setElasticDns(boolean isElasticDns) |
void |
setElasticServer(java.lang.String servers) |
void |
setElasticServerPort(int port) |
void |
setHomeCluster(java.lang.String homeCluster) |
void |
setHomeServer(java.lang.String homeServer) |
void |
setJoinCluster(java.lang.String joinCluster) |
void |
setManagement(BootManagementConfig management)
Adds the management configuration
|
void |
setResinDataDirectory(Path path) |
void |
setResinSystemAuthKey(java.lang.String key) |
void |
setRootDirectory(Path rootDirectory) |
public Path getResinHome()
public void setRootDirectory(Path rootDirectory)
public Path getRootDirectory()
public Path getLogDirectory()
public void setResinDataDirectory(Path path)
public Path getResinDataDirectory()
public void setClusterSystemKey(java.lang.String digest)
public void setResinSystemAuthKey(java.lang.String key)
public java.lang.String getClusterSystemKey()
@Configurable public void setJoinCluster(java.lang.String joinCluster)
@Configurable public void setHomeCluster(java.lang.String homeCluster)
public java.lang.String getHomeCluster()
public boolean isHomeCluster()
public boolean isElasticServer()
@Configurable public void setElasticServer(java.lang.String servers)
public java.util.ArrayList<com.caucho.boot.BootResinConfig.ElasticServer> getElasticServers()
@Configurable public void setElasticDns(boolean isElasticDns)
public boolean isElasticDns()
@Configurable public void setElasticServerPort(int port)
public int getElasticServerPort()
public int getElasticServerPort(com.caucho.boot.WatchdogArgs arg, int count)
@Configurable public void setHomeServer(java.lang.String homeServer)
public java.lang.String getHomeServer()
public void add(AdminAuthenticator auth)
public BootManagementConfig createManagement()
public void setManagement(BootManagementConfig management)
public BootManagementConfig getManagement()
public boolean isWatchdogManagerConfig()
public com.caucho.boot.WatchdogClient findClient(java.lang.String id)
public com.caucho.boot.WatchdogClient findClientByAddress(java.lang.String address, int port)
public java.util.ArrayList<com.caucho.boot.WatchdogClient> findLocalClients(java.lang.String serverId)
public java.util.ArrayList<java.lang.String> findLocalClientIds(java.lang.String serverId)
public com.caucho.boot.WatchdogClient findWatchdogClient(java.lang.String clusterId)
public void fillLocalClients(java.util.ArrayList<com.caucho.boot.WatchdogClient> clientList)
public static boolean isLocalClient(java.util.ArrayList<java.net.InetAddress> localAddresses, com.caucho.boot.WatchdogConfig config)
public int getNextIndex()
public void addClient(com.caucho.boot.WatchdogClient client)
public com.caucho.boot.WatchdogConfig findServer(java.lang.String id)
public void addServer(com.caucho.boot.WatchdogConfig config)
public com.caucho.boot.WatchdogManagerConfig createWatchdogManager()
public void addClusterDefault(ContainerProgram program)
public void addCluster(BootClusterProxy proxy)
public void addSystemProperty(SystemProperty property)
public void addContentProgram(ConfigProgram program)