com.tivoli.jmx.connector
Interface ConnectorServerMBean

All Known Implementing Classes:
ConnectorServer

public interface ConnectorServerMBean

ConnectorServerMBean.java Exposes a managment interface for JMX connector servers. Note the JMX specification doesn't define exactly what a connector server looks like. This interface and implementation are Tivoli specific.

Version:
1.1
Author:
Ward Harold

Method Summary
 int getConnections()
          The number of active connections to the connector server.
 int getMaxConnections()
          The maximum number of simultaneous connections that will be accepted by a connector server.
 int getRequests()
          The number of requests that have been handled by a connector server.
 long getUptime()
          The length of time a connector server has been servicing requests.
 void setMaxConnections(int maxConnections)
          Sets the maximum number of simultaneous connections to be serviced by a connector server.
 void start()
          Begin servicing requests.
 void stop()
          Stop servicing requests.
 

Method Detail

getConnections

public int getConnections()
The number of active connections to the connector server.
Returns:
int

getMaxConnections

public int getMaxConnections()
The maximum number of simultaneous connections that will be accepted by a connector server.
Returns:
int

getRequests

public int getRequests()
The number of requests that have been handled by a connector server.
Returns:
int

getUptime

public long getUptime()
The length of time a connector server has been servicing requests.
Returns:
long

setMaxConnections

public void setMaxConnections(int maxConnections)
Sets the maximum number of simultaneous connections to be serviced by a connector server.
Parameters:
maxConnections - int

start

public void start()
           throws java.lang.reflect.InvocationTargetException,
                  java.lang.IllegalStateException
Begin servicing requests.
Throws:
java.lang.reflect.InvocationTargetException - The exception description.
java.lang.IllegalStateException - The exception description.

stop

public void stop()
Stop servicing requests.