Interface GridTcpRouterMBean
-
- All Known Implementing Classes:
GridTcpRouterImpl
@MXBeanDescription("MBean for TCP router.") public interface GridTcpRouterMBean
MBean interface for TCP router.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()Gets host for TCP binary protocol server.intgetPort()Gets port for TCP binary protocol server.longgetReceivedCount()Returns number of messages received by this router.longgetSendCount()Returns number of responses returned by this router.Collection<String>getServers()Gets list of server addresses where router's embedded client should connect.booleanisSslClientAuth()Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which validity will be verified with trust manager.booleanisSslEnabled()Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which validity will be verified with trust manager.
-
-
-
Method Detail
-
getHost
@MXBeanDescription("Host for TCP binary protocol server.") String getHost()
Gets host for TCP binary protocol server.- Returns:
- TCP host.
-
getPort
@MXBeanDescription("Port for TCP binary protocol server.") int getPort()
Gets port for TCP binary protocol server.- Returns:
- TCP port.
-
isSslEnabled
@MXBeanDescription("Flag indicating whether or not SSL is enabled for incoming connections.") boolean isSslEnabled()
Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which validity will be verified with trust manager.- Returns:
- Whether or not client authentication is required.
-
isSslClientAuth
@MXBeanDescription("Flag indicating whether or not remote clients are required to have a valid SSL certificate.") boolean isSslClientAuth()
Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which validity will be verified with trust manager.- Returns:
- Whether or not client authentication is required.
-
getServers
@MXBeanDescription("Gets list of server addresses where router\'s embedded client should connect.") Collection<String> getServers()
Gets list of server addresses where router's embedded client should connect.- Returns:
- List of server addresses.
-
getReceivedCount
@MXBeanDescription("Number of messages received by this router.") long getReceivedCount()
Returns number of messages received by this router. Note that this parameter has approximate value.- Returns:
- Number of messages received by this router.
-
getSendCount
@MXBeanDescription("Number of responses returned by this router.") long getSendCount()
Returns number of responses returned by this router. Note that this parameter has approximate value.- Returns:
- Number of responses returned by this router.
-
-