001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)IEndpointStatisticsData.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.esb.management.common.data;
030:
031: import java.io.Serializable;
032: import java.util.Map;
033:
034: /**
035: * Provides Endpoint Statistics Interface
036: *
037: * @author graj
038: */
039: public interface IEndpointStatisticsData extends Serializable {
040: /**
041: * @return the isProvisioningEndpoint
042: */
043: public boolean isProvisioningEndpoint();
044:
045: /**
046: * @param isProvisioningEndpoint
047: * the isProvisioningEndpoint to set
048: */
049: public void setProvisioningEndpoint(boolean isProvisioningEndpoint);
050:
051: /**
052: * @return the instanceName
053: */
054: public String getInstanceName();
055:
056: /**
057: * @param instanceName
058: * the instanceName to set
059: */
060: public void setInstanceName(String instanceName);
061:
062: /**
063: * @return the componentName
064: */
065: public String getComponentName();
066:
067: /**
068: * @param componentName the componentName to set
069: */
070: public void setComponentName(String componentName);
071:
072: /**
073: * @return the numberOfActiveExchanges
074: */
075: public long getNumberOfActiveExchanges();
076:
077: /**
078: * @param numberOfActiveExchanges
079: * the numberOfActiveExchanges to set
080: */
081: public void setNumberOfActiveExchanges(long numberOfActiveExchanges);
082:
083: /**
084: * @return the numberOfReceivedDones
085: */
086: public long getNumberOfReceivedDones();
087:
088: /**
089: * @param numberOfReceivedDones
090: * the numberOfReceivedDones to set
091: */
092: public void setNumberOfReceivedDones(long numberOfReceivedDones);
093:
094: /**
095: * @return the numberOfSentDones
096: */
097: public long getNumberOfSentDones();
098:
099: /**
100: * @param numberOfSentDones
101: * the numberOfSentDones to set
102: */
103: public void setNumberOfSentDones(long numberOfSentDones);
104:
105: /**
106: * @return the numberOfReceivedFaults
107: */
108: public long getNumberOfReceivedFaults();
109:
110: /**
111: * @param numberOfReceivedFaults
112: * the numberOfReceivedFaults to set
113: */
114: public void setNumberOfReceivedFaults(long numberOfReceivedFaults);
115:
116: /**
117: * @return the numberOfReceivedErrors
118: */
119: public long getNumberOfReceivedErrors();
120:
121: /**
122: * @param numberOfReceivedErrors
123: * the numberOfReceivedErrors to set
124: */
125: public void setNumberOfReceivedErrors(long numberOfReceivedErrors);
126:
127: /**
128: * @return the numberOfSentFaults
129: */
130: public long getNumberOfSentFaults();
131:
132: /**
133: * @param numberOfSentFaults
134: * the numberOfSentFaults to set
135: */
136: public void setNumberOfSentFaults(long numberOfSentFaults);
137:
138: /**
139: * @return the numberOfSentErrors
140: */
141: public long getNumberOfSentErrors();
142:
143: /**
144: * @param numberOfSentErrors
145: * the numberOfSentErrors to set
146: */
147: public void setNumberOfSentErrors(long numberOfSentErrors);
148:
149: /**
150: * @return the messageExchangeComponentTimeAverage
151: */
152: public long getMessageExchangeComponentTimeAverage();
153:
154: /**
155: * @param messageExchangeComponentTimeAverage
156: * the messageExchangeComponentTimeAverage to set
157: */
158: public void setMessageExchangeComponentTimeAverage(
159: long messageExchangeComponentTimeAverage);
160:
161: /**
162: * @return the messageExchangeDeliveryChannelTimeAverage
163: */
164: public long getMessageExchangeDeliveryChannelTimeAverage();
165:
166: /**
167: * @param messageExchangeDeliveryChannelTimeAverage
168: * the messageExchangeDeliveryChannelTimeAverage to set
169: */
170: public void setMessageExchangeDeliveryChannelTimeAverage(
171: long messageExchangeDeliveryChannelTimeAverage);
172:
173: /**
174: * @return the messageExchangeServiceTimeAverage
175: */
176: public long getMessageExchangeServiceTimeAverage();
177:
178: /**
179: * @param messageExchangeServiceTimeAverage
180: * the messageExchangeServiceTimeAverage to set
181: */
182: public void setMessageExchangeServiceTimeAverage(
183: long messageExchangeServiceTimeAverage);
184:
185: /**
186: * @return the categoryToPerformanceDataMap
187: */
188: public Map<String, PerformanceData> getCategoryToPerformanceDataMap();
189:
190: /**
191: * @param categoryToPerformanceDataMap
192: * the categoryToPerformanceDataMap to set
193: */
194: public void setCategoryToPerformanceDataMap(
195: Map<String, PerformanceData> categoryToPerformanceDataMap);
196:
197: /**
198: * Return a displayable string of values
199: *
200: * @return
201: */
202: public String getDisplayString();
203: }
|