net.java.dev.moskito.core.predefined
Class ServiceStatsCallHandlerWithCallSysout

java.lang.Object
  extended by net.java.dev.moskito.core.predefined.ServiceStatsCallHandlerWithCallSysout
All Implemented Interfaces:
IOnDemandCallHandler

public class ServiceStatsCallHandlerWithCallSysout
extends Object
implements IOnDemandCallHandler


Field Summary
private  AtomicLong callCounter
           
private static AtomicLong instanceCounter
           
private  long instanceId
           
private static AtomicLong overallCallCounter
           
 
Constructor Summary
ServiceStatsCallHandlerWithCallSysout()
           
 
Method Summary
 Object invoke(Object target, Object[] args, Method method, Class targetClass, Class[] declaredExceptions, IStats _defaultStats, IStats _methodStats, String producerId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callCounter

private AtomicLong callCounter

instanceCounter

private static AtomicLong instanceCounter

instanceId

private long instanceId

overallCallCounter

private static AtomicLong overallCallCounter
Constructor Detail

ServiceStatsCallHandlerWithCallSysout

public ServiceStatsCallHandlerWithCallSysout()
Method Detail

invoke

public Object invoke(Object target,
                     Object[] args,
                     Method method,
                     Class targetClass,
                     Class[] declaredExceptions,
                     IStats _defaultStats,
                     IStats _methodStats,
                     String producerId)
              throws Throwable
Specified by:
invoke in interface IOnDemandCallHandler
Throws:
Throwable


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework