[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-110) Split ModClusterServiceMBean.ping(String) into 3 methods

Michal Babacek (JIRA) issues at jboss.org
Fri Aug 8 06:29:00 EDT 2014


     [ https://issues.jboss.org/browse/MODCLUSTER-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Babacek closed MODCLUSTER-110.
-------------------------------------



Closing. Clean-up.
At least one of the following applies:

  * the issue has been thoroughly tested as a part of one of the current releases
or
  * it hasn't occurred in ~2 years
or
  * it's utterly harmless

> Split ModClusterServiceMBean.ping(String) into 3 methods
> --------------------------------------------------------
>
>                 Key: MODCLUSTER-110
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-110
>             Project: mod_cluster
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Paul Ferraro
>            Assignee: Jean-Frederic Clere
>             Fix For: 1.1.0.CR1
>
>
> Currently the ModClusterServiceMBean.ping(String) method does 3 things:
> 1. If parameter is null, send a PING command that determines the accessibility/health of each proxy.
> 2. If parameter is not a url, interpret the parameter as a jvm route and send a PING command that determines the accessibility of the node, configured with the specified jvm route, from each proxy.
> 3. If parameter is as a url, interpret the parameter as a url and send a PING command that determines the accessibility of the node (which may or may not be configured in the proxy already) containing a connector matching the protocol, host, and port of the url, from each proxy .
> Rather than 1 multi-purpose function - this method should be split in to 3, corresponding to the 3 functions identified above:
> Map<InetSocketAddress, String> ping();
> Map<InetSocketAddress, String> ping(String jvmRoute);
> Map<InetSocketAddress, String> ping(String protocol, String host, int port);
> or perhaps:
> Map<InetSocketAddress, String> pingProxies();
> Map<InetSocketAddress, String> pingNode(String jvmRoute);
> Map<InetSocketAddress, String> pingConector(String url);



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the mod_cluster-issues mailing list