alma::acs::monitoring::RemoteThreadsMonitor Class Reference

Collaboration diagram for alma::acs::monitoring::RemoteThreadsMonitor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RemoteThreadsMonitor (String[] args)
RemoteThreadsMBean getMBean ()
void close ()

Static Public Member Functions

static void main (String[] args)
static void usage ()

Private Attributes

RemoteThreadsClient rtc = null

Detailed Description

Example on how alma.acs.monitoring.RemoteThreadsClient is intended to be used.

Author:
rtobar
Since:
ACS 7.0

Constructor & Destructor Documentation

alma::acs::monitoring::RemoteThreadsMonitor::RemoteThreadsMonitor ( String[]  args  )  [inline]

Creates a new RemoteThreadsMonitor with the given command line args

Parameters:
args The command line arguments.

References alma::acs::monitoring::RemoteThreadsClient::connect(), and rtc.

Referenced by main().


Member Function Documentation

void alma::acs::monitoring::RemoteThreadsMonitor::close (  )  [inline]

Closes the connection of the internal RemoteThreadsClient instance.

References alma::acs::monitoring::RemoteThreadsClient::close(), and rtc.

Referenced by main().

RemoteThreadsMBean alma::acs::monitoring::RemoteThreadsMonitor::getMBean (  )  [inline]

Returns the RemoteThreadsMBean retreived by the internal RemoteThreadsClient instance.

Returns:
The RemoteThreadsMBean retreived by the internal RemoteThreadsClient instance.

References alma::acs::monitoring::RemoteThreadsClient::getMBean(), and rtc.

Referenced by main().

static void alma::acs::monitoring::RemoteThreadsMonitor::main ( String[]  args  )  [inline, static]
static void alma::acs::monitoring::RemoteThreadsMonitor::usage (  )  [inline, static]

Prints the usage. The command line accepts four different arguments combinations:

  • PID
  • className
  • host
  • host port

Member Data Documentation


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2