com.cloudtran.jmx.client
Class Client

java.lang.Object
  extended by javax.management.StandardMBean
      extended by com.cloudtran.jmx.AbstractMBean
          extended by com.cloudtran.jmx.client.Client
All Implemented Interfaces:
ClientMBean, DynamicMBean, MBeanRegistration

public class Client
extends AbstractMBean
implements ClientMBean


Constructor Summary
Client(ClientSummaryProvider summaryProvider)
           
 
Method Summary
static void addToAggregateCommitInvokeTime(long addThis)
           
static void addToAggregateStartInvokeTime(long addThis)
           
static void decrementCommitInvokePending()
           
static void decrementStartInvokePending()
           
 long getCommitInvokePending()
           
 long getCommitInvokePSpike()
           
 float getCommitInvokeTimeAverage()
           
 float getCommitInvokeTimeAverageLog()
           
 float getMaxCommitInvokeTime()
           
 float getMaxCommitInvokeTimeLog()
           
 float getMaxStartInvokeTime()
           
 float getMaxStartInvokeTimeLog()
           
 float getMinCommitInvokeTime()
           
 float getMinCommitInvokeTimeLog()
           
 float getMinStartInvokeTime()
           
 float getMinStartInvokeTimeLog()
           
 long getStartInvokePending()
           
 long getStartInvokePSpike()
           
 float getStartInvokeTimeAverage()
           
 float getStartInvokeTimeAverageLog()
           
 long getStartToCommitTime()
           
 com.cloudtran.jmx.client.Client.Stats getStats()
           
 long getTxPerSec()
           
static void incrementCommitInvokeCounter()
           
static void incrementCommitInvokePending()
           
static void incrementStartInvokeCounter()
           
static void incrementStartInvokePending()
           
static void reset()
           
 
Methods inherited from class javax.management.StandardMBean
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client(ClientSummaryProvider summaryProvider)
       throws NotCompliantMBeanException
Throws:
NotCompliantMBeanException
Method Detail

getStartToCommitTime

public long getStartToCommitTime()
Specified by:
getStartToCommitTime in interface ClientMBean

getTxPerSec

public long getTxPerSec()
Specified by:
getTxPerSec in interface ClientMBean

incrementStartInvokeCounter

public static void incrementStartInvokeCounter()

addToAggregateStartInvokeTime

public static void addToAggregateStartInvokeTime(long addThis)

incrementCommitInvokeCounter

public static void incrementCommitInvokeCounter()

addToAggregateCommitInvokeTime

public static void addToAggregateCommitInvokeTime(long addThis)

incrementStartInvokePending

public static void incrementStartInvokePending()

incrementCommitInvokePending

public static void incrementCommitInvokePending()

decrementStartInvokePending

public static void decrementStartInvokePending()

decrementCommitInvokePending

public static void decrementCommitInvokePending()

getStartInvokeTimeAverage

public float getStartInvokeTimeAverage()
Specified by:
getStartInvokeTimeAverage in interface ClientMBean

getMinStartInvokeTime

public float getMinStartInvokeTime()
Specified by:
getMinStartInvokeTime in interface ClientMBean

getMaxStartInvokeTime

public float getMaxStartInvokeTime()
Specified by:
getMaxStartInvokeTime in interface ClientMBean

getStartInvokeTimeAverageLog

public float getStartInvokeTimeAverageLog()
Specified by:
getStartInvokeTimeAverageLog in interface ClientMBean

getMinStartInvokeTimeLog

public float getMinStartInvokeTimeLog()
Specified by:
getMinStartInvokeTimeLog in interface ClientMBean

getMaxStartInvokeTimeLog

public float getMaxStartInvokeTimeLog()
Specified by:
getMaxStartInvokeTimeLog in interface ClientMBean

getCommitInvokeTimeAverage

public float getCommitInvokeTimeAverage()
Specified by:
getCommitInvokeTimeAverage in interface ClientMBean

getMinCommitInvokeTime

public float getMinCommitInvokeTime()
Specified by:
getMinCommitInvokeTime in interface ClientMBean

getMaxCommitInvokeTime

public float getMaxCommitInvokeTime()
Specified by:
getMaxCommitInvokeTime in interface ClientMBean

getCommitInvokeTimeAverageLog

public float getCommitInvokeTimeAverageLog()
Specified by:
getCommitInvokeTimeAverageLog in interface ClientMBean

getMinCommitInvokeTimeLog

public float getMinCommitInvokeTimeLog()
Specified by:
getMinCommitInvokeTimeLog in interface ClientMBean

getMaxCommitInvokeTimeLog

public float getMaxCommitInvokeTimeLog()
Specified by:
getMaxCommitInvokeTimeLog in interface ClientMBean

getStartInvokePending

public long getStartInvokePending()
Specified by:
getStartInvokePending in interface ClientMBean

getCommitInvokePending

public long getCommitInvokePending()
Specified by:
getCommitInvokePending in interface ClientMBean

getStartInvokePSpike

public long getStartInvokePSpike()
Specified by:
getStartInvokePSpike in interface ClientMBean

getCommitInvokePSpike

public long getCommitInvokePSpike()
Specified by:
getCommitInvokePSpike in interface ClientMBean

reset

public static void reset()

getStats

public com.cloudtran.jmx.client.Client.Stats getStats()