public interface IClusterInfo
Modifier and Type | Method and Description |
---|---|
UUID |
getClusterId()
Gets a cluster ID
|
int |
getClusterRecyclingErrorsCountThreshold()
Gets allowed deviation for the number of server errors per query per minute
based on the average value for all processes.
|
int |
getExpirationTimeout()
Gets an expiration timeout
|
String |
getHostName()
Gets the name or IP address of the computer where the
cluster register and the master cluster manager process are located
|
int |
getLifeTimeLimit()
Gets the lifetime limit of cluster working processes
|
int |
getLoadBalancingMode()
Gets load balancing mode.
|
int |
getMainPort()
Gets the main IP port number of the cluster manager
|
int |
getMaxMemorySize()
Gets the limit (in KB) of virtual address space per working process
|
int |
getMaxMemoryTimeLimit()
Gets the maximum allowed period (in seconds) of exceeding the
memory size limit
|
String |
getName()
Gets a cluster name
|
int |
getSecurityLevel()
Gets connection security level
|
int |
getSessionFaultToleranceLevel()
Gets session fault tolerance level
|
boolean |
isClusterRecyclingKillProblemProcesses()
Returns whether processes with errors should be force terminated.
|
void |
setClusterRecyclingErrorsCountThreshold(int errorsCountThreshold)
Sets allowed deviation for the number of server errors per query per minute
based on the average value for all processes.
|
void |
setClusterRecyclingKillProblemProcesses(boolean killProblemProcesses)
Enforces termination of processes with errors.
|
void |
setExpirationTimeout(int timeout)
Sets an expiration timeout
|
void |
setHostName(String hostName)
Sets the name or IP address of the computer where the
cluster register and the master cluster manager process are located
|
void |
setLifeTimeLimit(int limit)
Sets the lifetime limit of cluster working processes
|
void |
setLoadBalancingMode(int mode)
Sets load balancing mode.
|
void |
setMainPort(int port)
Sets the main IP port number of the cluster manager
|
void |
setMaxMemorySize(int size)
Sets the limit (in KB) of virtual address space per working process
|
void |
setMaxMemoryTimeLimit(int limit)
Sets the maximum allowed period (in seconds) of exceeding the memory
size limit
|
void |
setName(String name)
Sets a cluster name
|
void |
setSecurityLevel(int level)
Sets connection security level
|
void |
setSessionFaultToleranceLevel(int level)
Sets session fault tolerance level
|
UUID getClusterId()
int getExpirationTimeout()
void setExpirationTimeout(int timeout)
timeout
- expiration timeoutString getHostName()
void setHostName(String hostName)
hostName
- computer name or IP addressint getLifeTimeLimit()
void setLifeTimeLimit(int limit)
limit
- lifetime limit of cluster working processesint getMainPort()
void setMainPort(int port)
port
- main IP port number of the cluster managerint getMaxMemorySize()
void setMaxMemorySize(int size)
size
- virtual address space limitint getMaxMemoryTimeLimit()
void setMaxMemoryTimeLimit(int limit)
limit
- maximum allowed period of exceeding the memory size limitString getName()
void setName(String name)
name
- cluster nameint getSecurityLevel()
void setSecurityLevel(int level)
level
- connection security levelint getSessionFaultToleranceLevel()
void setSessionFaultToleranceLevel(int level)
level
- session fault tolerance levelint getLoadBalancingMode()
0
- priorities are determined by available performance1
- priorities are determined by available memory0
void setLoadBalancingMode(int mode)
getLoadBalancingMode()
mode
- load balancing modeint getClusterRecyclingErrorsCountThreshold()
void setClusterRecyclingErrorsCountThreshold(int errorsCountThreshold)
Is set up as a percentage of the average value of the rest processes. For example if the parameter value is set up at "50", and the average amount of errors per one query per minute during the last 5 minutes is "100", then a threshold is considered as exceeded for the processes which called more than 150 errors per query per minute.
errorsCountThreshold
- allowed amount of server error per one query per minute.boolean isClusterRecyclingKillProblemProcesses()
void setClusterRecyclingKillProblemProcesses(boolean killProblemProcesses)
true
, the processes which are recognized to be default according
to the monitoring results will be force terminated.
Possible reasons on which a processes can be recognized to be default:
getClusterRecyclingErrorsCountThreshold()
,killProblemProcesses
- whether processes with errors should be force terminated.Copyright © '1C' 1996-2012