01: /*
02: * Copyright 2004,2005 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.wso2.esb.services.tos;
17:
18: /**
19: *
20: *
21: */
22:
23: public class ServerStatistics {
24:
25: private String name;
26: private long totalCount;
27: private long faultCount;
28: private long maxTime;
29: private long minTime;
30: private double avgTime;
31:
32: public String getName() {
33: return name;
34: }
35:
36: public void setName(String name) {
37: this .name = name;
38: }
39:
40: public long getTotalCount() {
41: return totalCount;
42: }
43:
44: public void setTotalCount(long totalCount) {
45: this .totalCount = totalCount;
46: }
47:
48: public long getFaultCount() {
49: return faultCount;
50: }
51:
52: public void setFaultCount(long faultCount) {
53: this .faultCount = faultCount;
54: }
55:
56: public long getMaxTime() {
57: return maxTime;
58: }
59:
60: public void setMaxTime(long maxTime) {
61: this .maxTime = maxTime;
62: }
63:
64: public long getMinTime() {
65: return minTime;
66: }
67:
68: public void setMinTime(long minTime) {
69: this .minTime = minTime;
70: }
71:
72: public double getAvgTime() {
73: return avgTime;
74: }
75:
76: public void setAvgTime(double avgTime) {
77: this.avgTime = avgTime;
78: }
79: }
|