[
https://jira.jboss.org/jira/browse/MODCLUSTER-84?page=com.atlassian.jira....
]
Paul Ferraro commented on MODCLUSTER-84:
----------------------------------------
Good question. I don't think so - since the functionality can be achieved using the
existing commands.
I've implemented these methods on the HAModClusterServiceMBean interface as:
boolean enableDomain()
boolean disableDomain()
boolean stopDomain(long timeout, TimeUnit unit)
So, calling enableDomain(), for example, triggers an enable() on every node in the same
domain as the caller node.
The non-HA ModClusterService couldn't implement this without additional MCMP commands
like you suggested, but I don't think these methods need to exist on the normal
ModClusterServiceMBean interface. If domain logic is required, then users should use the
HA version. The use case for domains involves session clustering, which already requires
the infrastructure needed by the HAModClusterService.
I'm going to resolve this jira for now - since the functionality is implemented. If we
conclude that new MCMP commands are warranted, let's open another jira.
Add domain versions of enable/disable/stop methods to
HAModClusterServiceMBean
------------------------------------------------------------------------------
Key: MODCLUSTER-84
URL:
https://jira.jboss.org/jira/browse/MODCLUSTER-84
Project: mod_cluster
Issue Type: Feature Request
Affects Versions: 1.0.0.GA
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 1.1.0.CR1
enable(String domain)
disable(String domain)
stop(String domain)
HASingleton performs enable/disable/stop operations on behalf of each node with the
specified domain.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira