KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > springframework > samples > petclinic > jmx > CallMonitor


1 package org.springframework.samples.petclinic.jmx;
2
3 /**
4  * Simple interface for a call monitor.
5  * To be exposed for management via JMX.
6  *
7  * @author Rob Harrop
8  * @since 1.2
9  */

10 public interface CallMonitor {
11
12     void setEnabled(boolean isEnabled);
13
14     boolean isEnabled();
15
16     void reset();
17
18     int getCallCount();
19
20     long getCallTime();
21
22 }
23
Popular Tags