01: /*
02: * $Id: ServiceStatsMBean.java 11234 2008-03-06 23:44:34Z tcarlson $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.module.management.mbean;
12:
13: /**
14: * <code>ServiceStatsMBean</code> TODO
15: */
16: public interface ServiceStatsMBean {
17:
18: void clearStatistics();
19:
20: long getAverageExecutionTime();
21:
22: long getAverageQueueSize();
23:
24: long getMaxQueueSize();
25:
26: long getMaxExecutionTime();
27:
28: long getFatalErrors();
29:
30: long getMinExecutionTime();
31:
32: long getTotalExecutionTime();
33:
34: long getQueuedEvents();
35:
36: long getAsyncEventsReceived();
37:
38: long getSyncEventsReceived();
39:
40: long getReplyToEventsSent();
41:
42: long getSyncEventsSent();
43:
44: long getAsyncEventsSent();
45:
46: long getTotalEventsSent();
47:
48: long getTotalEventsReceived();
49:
50: long getExecutedEvents();
51:
52: long getExecutionErrors();
53: }
|