01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package mx4j.tools.stats;
10:
11: /**
12: * Management interface for TimedStatisticsRecorder MBeans.
13: *
14: * @version $Revision: 1.3 $
15: */
16: public interface TimedStatisticsRecorderMBean extends
17: ObserverStatisticsRecorderMBean {
18: /**
19: * Sets how often the MBean will poll the variable value
20: */
21: public void setGranularity(long granularity);
22:
23: /**
24: * Returns how often the MBean will poll the variable value
25: */
26: public long getGranularity();
27: }
|