net.sf.jour.rt.agent
Class EventProcessor

java.lang.Object
  extended bynet.sf.jour.rt.agent.EventProcessor
All Implemented Interfaces:
java.lang.Runnable

public class EventProcessor
extends java.lang.Object
implements java.lang.Runnable

TODO move to package net.sf.jour.rt.monitor Created on 04.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.7 $ ($Author: vlads $) $Date: 2004/12/16 17:40:17 $
Author:
michaellif

Field Summary
(package private)  long countAcepted
           
(package private)  long countTotal
           
protected static org.apache.log4j.Logger log
           
 
Method Summary
 long getCountAcepted()
           
 long getCountTotal()
           
static EventProcessor getInstance()
          DOCUMENT ME!
 InstanceCounter getInstanceCounter()
           
 JMVRuntimeStatistics getJvmInfo()
           
 MethodExceutionStatistics getMethodExecutionStatistics()
           
 boolean processEvent(Event event)
           
 void reset()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log

countTotal

long countTotal

countAcepted

long countAcepted
Method Detail

getInstance

public static EventProcessor getInstance()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getInstanceCounter

public InstanceCounter getInstanceCounter()

getMethodExecutionStatistics

public MethodExceutionStatistics getMethodExecutionStatistics()

processEvent

public boolean processEvent(Event event)

reset

public void reset()

run

public void run()
Specified by:
run in interface java.lang.Runnable

getCountTotal

public long getCountTotal()
Returns:
Returns the countTotal.

getCountAcepted

public long getCountAcepted()
Returns:
Returns the countAcepted.

getJvmInfo

public JMVRuntimeStatistics getJvmInfo()
Returns:
Returns the jvmInfo.


Copyright © 2004 sourceforge. All Rights Reserved.