[jboss-jira] [JBoss JIRA] Created: (JGRP-1065) probe: invoke operations

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Sep 30 04:01:49 EDT 2009


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