@MXBeanDescription(value="MBean that provides information about client connections.") public interface ClientProcessorMXBean
Modifier and Type | Method and Description |
---|---|
void |
dropAllConnections()
Drop all active connections.
|
boolean |
dropConnection(long id)
Drops client connection by
id , if exists. |
List<String> |
getConnections()
Returns list of active connections.
|
int |
getMaxConnectionsPerNode() |
void |
setMaxConnectionsPerNode(int maxConnectionsPerNode)
Sets maximum allowed number of active client connections per node.
|
void |
showFullStackOnClientSide(boolean show)
If sets to
true shows full stack trace otherwise highlevel short error message. |
@MXBeanDescription(value="List of client connections.") List<String> getConnections()
@MXBeanDescription(value="Drop all client connections.") void dropAllConnections()
@MXBeanDescription(value="Drop client connection by ID.") boolean dropConnection(@MXBeanParameter(name="id",description="Client connection ID.") long id)
id
, if exists.id
- connection id.True
if connection has been dropped successfully, false
otherwise.@MXBeanDescription(value="Show error full stack.") void showFullStackOnClientSide(@MXBeanParameter(name="show",description="Show error full stack.") boolean show)
true
shows full stack trace otherwise highlevel short error message.show
- Show flag.@MXBeanDescription(value="Maximum allowed number of active client connections per node. This applies to any connection that use thin client protocol: thin clients, ODBC, thin JDBC connections. The total number of all connections (ODBC + JDBC + thin client) can not exceed this limit. Zero or negative values mean no limit.") void setMaxConnectionsPerNode(@MXBeanParameter(name="maxConnectionsPerNode",description="Maximum allowed number of active connections per node.") int maxConnectionsPerNode)
This applies to any connections that use thin client protocol: thin clients, ODBC, thin JDBC connections. The total number of all connections (ODBC+JDBC+thin client) can not exceed this limit. Zero or negative values mean no limit.
maxConnectionsPerNode
- Maximum allowed number of active connections per node.@MXBeanDescription(value="Returns a maximum allowed number of active client connections per node. This applies to any connection that use thin client protocol: thin clients, ODBC, thin JDBC connections. The total number of all connections (ODBC + JDBC + thin client) can not exceed this limit. Zero or negative values mean no limit.") int getMaxConnectionsPerNode()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024