public interface RemoteCacheManagerMXBean
Modifier and Type | Method and Description |
---|---|
int |
getActiveConnectionCount()
Returns the number of active connections
|
int |
getConnectionCount()
Returns the total number of connections
|
int |
getIdleConnectionCount()
Returns the number of idle connections
|
long |
getRetries()
Returns the total number of retries that have been executed
|
String[] |
getServers()
Returns a list of servers to which the client is currently connected in the format of ip_address:port_number.
|
boolean |
switchToCluster(String clusterName)
Switch remote cache manager to a different cluster, previously
declared via configuration.
|
boolean |
switchToDefaultCluster()
Switch remote cache manager to a the default cluster, previously
declared via configuration.
|
String[] getServers()
int getActiveConnectionCount()
int getConnectionCount()
int getIdleConnectionCount()
long getRetries()
boolean switchToCluster(String clusterName)
true
, otherwise it returns false
.clusterName
- name of the cluster to which to switch totrue
if the cluster was switched, false
otherwiseboolean switchToDefaultCluster()
true
, otherwise it returns false
.true
if the cluster was switched, false
otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.