org.sapia.ubik.rmi.server.transport.socket
Interface SocketRmiServerMBean

All Known Implementing Classes:
SocketRmiServer

public interface SocketRmiServerMBean

Author:
yduchesne

Method Summary
 void disableStats()
          Disables statistics.
 void enableStats()
          Enables statistics.
 java.lang.String getAddress()
           
 int getPort()
           
 double getRequestDurationSeconds()
           
 double getRequestsPerSecond()
           
 int getThreadCount()
           
 

Method Detail

getAddress

java.lang.String getAddress()
Returns:
the IP address or host name on which this server listens.

getPort

int getPort()
Returns:
the port on which this server listens.

getRequestsPerSecond

double getRequestsPerSecond()
Returns:
the current RPS stat of the server.

getRequestDurationSeconds

double getRequestDurationSeconds()
Returns:
the current transaction duration stat of the server (in seconds)

getThreadCount

int getThreadCount()
Returns:
the number of request processing threads.

enableStats

void enableStats()
Enables statistics.


disableStats

void disableStats()
Disables statistics.



Copyright © 2010 Sapia OSS. All Rights Reserved.