001: /*
002: * Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016:
017: package org.wso2.esb.services.tos;
018:
019: /**
020: *
021: *
022: */
023:
024: public class ServiceData {
025:
026: private String serviceName;
027:
028: private int serviceRequestCount;
029:
030: private int serviceResponseCount;
031:
032: private int serviceFaultCount;
033:
034: private long maxServiceResponseTime;
035:
036: private long minServiceResponseTime;
037:
038: private double avgServiceResponseTime;
039:
040: private String[] operatinNames;
041:
042: public int getServiceRequestCount() {
043: return serviceRequestCount;
044: }
045:
046: public void setServiceRequestCount(int serviceRequestCount) {
047: this .serviceRequestCount = serviceRequestCount;
048: }
049:
050: public int getServiceResponseCount() {
051: return serviceResponseCount;
052: }
053:
054: public void setServiceResponseCount(int serviceResponseCount) {
055: this .serviceResponseCount = serviceResponseCount;
056: }
057:
058: public int getServiceFaultCount() {
059: return serviceFaultCount;
060: }
061:
062: public void setServiceFaultCount(int serviceFaultCount) {
063: this .serviceFaultCount = serviceFaultCount;
064: }
065:
066: public long getMaxServiceResponseTime() {
067: return maxServiceResponseTime;
068: }
069:
070: public void setMaxServiceResponseTime(long maxServiceResponseTime) {
071: this .maxServiceResponseTime = maxServiceResponseTime;
072: }
073:
074: public long getMinServiceResponseTime() {
075: return minServiceResponseTime;
076: }
077:
078: public void setMinServiceResponseTime(long minServiceResponseTime) {
079: this .minServiceResponseTime = minServiceResponseTime;
080: }
081:
082: public double getAvgServiceResponseTime() {
083: return avgServiceResponseTime;
084: }
085:
086: public void setAvgServiceResponseTime(double avgServiceResponseTime) {
087: this .avgServiceResponseTime = avgServiceResponseTime;
088: }
089:
090: public String[] getOperatinNames() {
091: return operatinNames;
092: }
093:
094: public void setOperatinNames(String[] operatinNames) {
095: this .operatinNames = operatinNames;
096: }
097:
098: public String getServiceName() {
099: return serviceName;
100: }
101:
102: public void setServiceName(String serviceName) {
103: this.serviceName = serviceName;
104: }
105: }
|