01: /**
02: *
03: * Copyright 2006 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.geronimo.management.geronimo.stats;
17:
18: import javax.management.j2ee.statistics.RangeStatistic;
19: import javax.management.j2ee.statistics.Stats;
20:
21: /**
22: * Statistics exposed by a Tomcat web connector (http, https)
23: *
24: * @version $Rev: 581936 $ $Date: 2007-10-04 07:46:56 -0700 (Thu, 04 Oct 2007) $
25: */
26: public interface WebConnectorStats extends Stats {
27:
28: // TODO - check if some other stats can be merged
29: /**
30: * Gets the number of connections currently open (as well as the min and max
31: * since statistics gathering started).
32: */
33: RangeStatistic getOpenConnectionCount();
34: }
|