[jboss-jira] [JBoss JIRA] Commented: (JGRP-1065) probe: invoke operations
Bela Ban (JIRA)
jira-events at lists.jboss.org
Wed Sep 30 10:06:01 EDT 2009
[ https://jira.jboss.org/jira/browse/JGRP-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12487899#action_12487899 ]
Bela Ban commented on JGRP-1065:
--------------------------------
The syntax is
probe.sh op=STABLE.runMessageGarbageCollection[arg,1 arg2, argN]
The angle bracket were picked because round brackets have to be escaped in most shells
> probe: invoke operations
> ------------------------
>
> Key: JGRP-1065
> URL: https://jira.jboss.org/jira/browse/JGRP-1065
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 2.8
>
>
> Needed for diagnosis.
> Add the ability to invoke simple operations via probe.sh (on all reachable instances). This is faster than having to start jconsole, finding the right member and invoking the op.
> Syntax: probe.sh op=STABLE.runMessageGarbageCollection arg1 arg2 ... argN
> This will find protocol STABLE and invoke operation runMessageGarbageCollection with the args given. Method matching is done on a simple argument length to parameter length comparison, and Method.invoke() is used to cast arguments (which are strings) to the parameter types.
> Possible return values are sent in the hashmap, key: "STABLE.runMessagegarbageCollection", value: return value, as string
--
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
More information about the jboss-jira
mailing list