Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1065

probe: invoke operations

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.8
    • None
    • None
    • 0
    • 0% 0%

    Description

      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

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: