VMware GemFire Java API Reference
Package org.apache.geode.cache.server
Interface ServerMetrics
-
public interface ServerMetricsMetrics about the resource usage for a cache server. These metrics are provided to theServerLoadProbefor use in calculating the load on the server.- Since:
- GemFire 5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetClientCount()Get the number of clients connected to this cache server.intgetConnectionCount()Get the number of open connections for this cache server.intgetMaxConnections()Get the max connections for this cache server.intgetSubscriptionConnectionCount()Get the number of client subscription connections hosted on this cache server.
-
-
-
Method Detail
-
getConnectionCount
int getConnectionCount()
Get the number of open connections for this cache server.- Returns:
- the number of open connections for this cache server
-
getClientCount
int getClientCount()
Get the number of clients connected to this cache server.- Returns:
- the number of clients connected to this cache server
-
getSubscriptionConnectionCount
int getSubscriptionConnectionCount()
Get the number of client subscription connections hosted on this cache server.- Returns:
- the number of client subscription connections hosted on this cache server
-
getMaxConnections
int getMaxConnections()
Get the max connections for this cache server.- Returns:
- the max connections for this cache server
-
-