org.mc4j.ems.impl.jmx.connection.support.providers.proxy
Interface StatsProxy

All Known Implementing Classes:
GenericMBeanServerProxy, JMXRemotingMBeanServerProxy, JSR77ManagementMBeanServerProxy

public interface StatsProxy

An interface for proxies to declare their capability to track and provide statistics on the network traffic.

Version:
$Revision: 570 $($Author: ghinkl $ / $Date: 2006-04-12 15:14:16 -0400 (Wed, 12 Apr 2006) $)
Author:
Greg Hinkle (ghinkle@users.sourceforge.net), Nov 22, 2005

Method Summary
 javax.management.MBeanServer buildServerProxy()
           
 long getFailures()
           
 long getRoundTrips()
           
 

Method Detail

buildServerProxy

javax.management.MBeanServer buildServerProxy()
Returns:
a newly built dynamic proxy that will manage the connection

getRoundTrips

long getRoundTrips()
Returns:
the count of server calls made by this proxied connection

getFailures

long getFailures()
Returns:
the count of server calls that threw an exception