|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.plugins.AbstractInterceptor (src)
org.jboss.ejb.plugins.MetricsInterceptor
MetricsInterceptor collects data from the bean invocation call and publishes them on a JMS topic (bound to topic/metrics in the name service).
| Field Summary |
| Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor (src) |
container, log, nextInterceptor |
| Fields inherited from interface org.jboss.monitor.MetricsConstants (src) |
ACTIVITY, APPLICATION, BEAN, BEANCACHE_METRICS, CHECKPOINT, INVOCATION_METRICS, MEMORY_MONITOR, METHOD, PRIMARY_KEY, SYSTEM_METRICS, THREAD_MONITOR, TIME, TYPE |
| Constructor Summary | |
MetricsInterceptor()
|
|
| Method Summary | |
void |
create()
Starts the JMS publisher thread. |
void |
destroy()
Kills the publisher thread. |
java.lang.Object |
invoke(Invocation (src) mi)
??? |
java.lang.Object |
invokeHome(Invocation (src) mi)
??? |
void |
resetStatistic()
|
java.util.Map |
retrieveStatistic()
|
void |
sample(java.lang.Object s)
|
void |
setContainer(Container (src) container)
Stores the container reference and the application and bean JNDI names. |
| Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor (src) |
getContainer, getNext, setNext, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MetricsInterceptor()
| Method Detail |
public void setContainer(Container (src) container)
setContainer in interface ContainerPlugin (src) setContainer in class AbstractInterceptor (src) container - set by the container initialization code
public java.lang.Object invokeHome(Invocation (src) mi)
throws java.lang.Exception
Interceptor (src)
invokeHome in interface Interceptor (src) invokeHome in class AbstractInterceptor (src) java.lang.Exception
public java.lang.Object invoke(Invocation (src) mi)
throws java.lang.Exception
Interceptor (src)
invoke in interface Interceptor (src) invoke in class AbstractInterceptor (src) java.lang.Exceptionpublic void create()
create in interface Service (src) create in class AbstractInterceptor (src) public void destroy()
destroy in interface Service (src) destroy in class AbstractInterceptor (src) public void sample(java.lang.Object s)
public java.util.Map retrieveStatistic()
public void resetStatistic()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||