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: * @(#)JBIStatisticsItemNames.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.jbi.ui.common;
030:
031: /**
032: * This class provides the JBI Statistics item names.
033: * These names are used as keys in the CompositeData used
034: * to represent the various statistics: Framework Statistics,
035: * NMR Statistics, Component Statistics, Endpoint Statistics,
036: * SA Statistics.
037: *
038: * @author Sun Microsystems, Inc.
039: */
040: public final class JBIStatisticsItemNames {
041:
042: //--------------------------BEGIN - Common Statistics Keys------------------------------
043:
044: /**
045: * key for instance name
046: */
047: public static String INSTANCE_NAME = "InstanceName";
048:
049: /**
050: * table index
051: */
052: public static String[] STATS_TABLE_INDEX = new String[] { "InstanceName" };
053:
054: //--------------------------END - Common Statistics Keys----------------------------------
055:
056: //--------------------------BEGIN - Framework Statistics Keys------------------------------
057:
058: /**
059: * framework startup time
060: */
061: public static String FRAMEWORK_STARTUP_TIME = "StartupTime (ms)";
062:
063: /**
064: * framework uptime
065: */
066: public static String FRAMEWORK_UPTIME = "UpTime (ms)";
067:
068: /**
069: * composite data name for framework statistics
070: */
071: public static String FRAMEWORK_STATISTICS_NAME = "FrameworkStatistics";
072:
073: /**
074: * description for framework statistics
075: */
076: public static String FRAMEWORK_STATISTICS_DESCRIPTION = "Framework statistics for target";
077:
078: /**
079: * framework stats. table item name
080: */
081: public static String FRAMEWORK_STATISTICS_TABLE_ITEM_NAME = "FrameworkStatisticsItem";
082:
083: /**
084: * framework. stats table item description
085: */
086: public static final String FRAMEWORK_STATISTICS_TABLE_ITEM_DESCRIPTION = "Framework statistics for instance";
087:
088: //----------------------------END - Framework Statistics Keys-------------------------------
089:
090: //---------------------------BEGIN - NMR Statistics Keys -------------------------------------
091: /**
092: * nmr active channels list
093: */
094: public static String NMR_STATS_ACTIVE_CHANNELS = "ListActiveChannels";
095:
096: /**
097: * nmr active endpoints list
098: */
099: public static String NMR_STATS_ACTIVE_ENDPOINTS = "ListActiveEndpoints";
100:
101: /**
102: * composite data name for nmr statistics
103: */
104: public static String NMR_STATISTICS_NAME = "NMRStatistics";
105:
106: /**
107: * description for nmr statistics
108: */
109: public static String NMR_STATISTICS_DESCRIPTION = "NMR statistics for a target";
110:
111: /**
112: * nmr stats. table item name
113: */
114: public static String NMR_STATISTICS_TABLE_ITEM_NAME = "NMRStatisticsItem";
115:
116: /**
117: * nmr. stats table item description
118: */
119: public static final String NMR_STATISTICS_TABLE_ITEM_DESCRIPTION = "NMR statistics for an instance";
120:
121: //--------------------------END - NMR Statistics Keys--------------------------------------------------------------
122:
123: //---------------------------BEGIN - Deployment Service Statistics Keys-------------------------------------------
124:
125: /**
126: * service unit name
127: */
128: public static String SERVICE_UNIT_NAME = "ServiceUnitName";
129:
130: /**
131: * service unit startup time
132: */
133: public static String SERVICE_UNIT_STARTUP_TIME = "ServiceUnitStartupTime Avg (ms)";
134:
135: /**
136: * service unit stop time
137: */
138: public static String SERVICE_UNIT_STOP_TIME = "ServiceUnitStopTime Avg (ms)";
139:
140: /**
141: * service unit shutdown time
142: */
143: public static String SERVICE_UNIT_SHUTDOWN_TIME = "ServiceUnitShutdownTime Avg (ms)";
144:
145: /**
146: * SA Name
147: */
148: public static String SERVICE_ASSEMBLY_NAME = "ServiceAssemblyName";
149:
150: /**
151: * SA Uptime
152: */
153: public static String SERVICE_ASSEMBLY_UPTIME = "UpTime (ms)";
154:
155: /**
156: * last startup time
157: */
158: public static String SERVICE_ASSEMBLY_LAST_STARTUP_TIME = "LastStartupTime";
159:
160: /**
161: * SA startup time
162: */
163: public static final String SERVICE_ASSEMBLY_STARTUP_TIME = "StartupTime Avg (ms)";
164:
165: /**
166: * SA stop time
167: */
168: public static final String SERVICE_ASSEMBLY_STOP_TIME = "StopTime Avg (ms)";
169:
170: /**
171: * SA Shutdown time
172: */
173: public static final String SERVICE_ASSEMBLY_SHUTDOWN_TIME = "ShutdownTime Avg (ms)";
174:
175: /**
176: * SA list of SU statistics
177: */
178: public static final String SERVICE_ASSEMBLY_SU_STATISTICS = "ServiceUnitStatistics";
179:
180: /**
181: * composite data name for SA statistics
182: */
183: public static String SA_STATISTICS_NAME = "ServiceAssemblyStatistics";
184:
185: /**
186: * description for SA statistics
187: */
188: public static String SA_STATISTICS_DESCRIPTION = "SA statistics for a target";
189:
190: /**
191: * name for SA statistics table item
192: */
193: public static String SA_STATISTICS_ITEM_NAME = "ServiceAssemblyStatisticsItem";
194:
195: /**
196: * description for SA statistics table item
197: */
198: public static String SA_STATISTICS_ITEM_DESCRIPTION = "SA statistics for an instance";
199:
200: //----------------------------END - Deployment Service Statistics Keys -------------------------------------------
201:
202: //----------------------------BEGIN - Common keys for component/endpoint statistics ----------------------------------
203:
204: /**
205: * number of received requests
206: */
207: public static final String NUMBER_OF_RECEIVED_REQUESTS = "NumReceivedRequests";
208:
209: /**
210: * number of sent requests
211: */
212: public static final String NUMBER_OF_SENT_REQUESTS = "NumSentRequests";
213:
214: /**
215: * number of received replies
216: */
217: public static final String NUMBER_OF_RECEIVED_REPLIES = "NumReceivedReplies";
218:
219: /**
220: * number of sent replies
221: */
222: public static final String NUMBER_OF_SENT_REPLIES = "NumSentReplies";
223:
224: /**
225: * number of received DONEs
226: */
227: public static final String NUMBER_OF_RECEIVED_DONES = "NumReceivedDONEs";
228:
229: /**
230: * number of sent DONEs
231: */
232: public static final String NUMBER_OF_SENT_DONES = "NumSentDONEs";
233:
234: /**
235: * number of received faults
236: */
237: public static final String NUMBER_OF_RECEIVED_FAULTS = "NumReceivedFaults";
238:
239: /**
240: * number of sent faults
241: */
242: public static final String NUMBER_OF_SENT_FAULTS = "NumSentFaults";
243:
244: /**
245: * number of received errors
246: */
247: public static final String NUMBER_OF_RECEIVED_ERRORS = "NumReceivedErrors";
248:
249: /**
250: * number of sent requests
251: */
252: public static final String NUMBER_OF_SENT_ERRORS = "NumSentErrors";
253:
254: /**
255: * number of completed requests
256: */
257: public static final String NUMBER_OF_COMPLETED_EXCHANGES = "NumCompletedExchanges";
258:
259: /**
260: * number of active exchanges
261: */
262: public static final String NUMBER_OF_ACTIVE_EXCHANGES = "NumActiveExchanges";
263:
264: /**
265: * number of error exchanges
266: */
267: public static final String NUMBER_OF_ERROR_EXCHANGES = "NumErrorExchanges";
268:
269: /**
270: * message exchange response time
271: */
272: public static final String MESSAGE_EXCHANGE_RESPONSE_TIME = "MessageExchangeResponseTime Avg (ns)";
273:
274: /**
275: * message exchange component time
276: */
277: public static final String MESSAGE_EXCHANGE_COMPONENT_TIME = "MessageExchangeComponentTime Avg (ns)";
278:
279: /**
280: * message exchange delivery channel time
281: */
282: public static final String MESSAGE_EXCHANGE_DELIVERY_CHANNEL_TIME = "MessageExchangeDeliveryTime Avg (ns)";
283:
284: /**
285: * message exchange nmr time
286: */
287: public static final String MESSAGE_EXCHANGE_NMR_TIME = "MessageExchangeNMRTime Avg (ns)";
288:
289: //----------------------------END - Common keys for component/endpoint statistics----------------------------------
290:
291: //----------------------------BEGIN - Component statistics keys ------------------------------------------------------
292: /**
293: * Uptime
294: */
295: public static final String COMPONENT_UPTIME = "ComponentUpTime (ms)";
296:
297: /**
298: * activated endpoints
299: */
300: public static final String NUMBER_OF_ACTIVATED_ENDPOINTS = "NumActivatedEndpoints";
301:
302: /**
303: * component stats
304: */
305: public static final String COMPONENT_EXTENSION_STATS = "ComponentExtensionStats";
306:
307: /**
308: * component statistics table item name
309: */
310: public static final String COMPONENT_STATISTICS_TABLE_ITEM_NAME = "ComponentStatisticsItem";
311:
312: /**
313: * component statistics table item description
314: */
315: public static final String COMPONENT_STATISTICS_TABLE_ITEM_DESCRIPTION = "Component statistics in an instance";
316:
317: //----------------------------END - Component statistics keys ------------------------------------------------------
318:
319: //----------------------------BEGIN - Common endpoint statistics keys ------------------------------------------------------
320: /**
321: * component name
322: */
323: public static final String ENDPOINT_COMPONENT_NAME = "ComponentName";
324:
325: /**
326: * OJC performance stats
327: */
328: public static final String OJC_PERFORMANCE_STATS = "PerformanceMeasurements";
329:
330: //----------------------------END - Common endpoint statistics keys ------------------------------------------------------
331:
332: //----------------------------BEGIN - Provider specific statistics keys ------------------------------------------------------
333: /**
334: * activation time
335: */
336: public static final String PROVIDER_ENDPOINT_ACTIVATION_TIME = "ActivationTime";
337:
338: /**
339: * Uptime
340: */
341: public static final String PROVIDER_ENDPOINT_UPTIME = "EndpointUpTime (ms)";
342:
343: /**
344: * prividing endpoint statistics data name
345: */
346: public static final String PROVIDER_STATS_NAME = "ProviderEndpointStats";
347:
348: /**
349: * prividing endpoint statistics data description
350: */
351: public static final String PROVIDER_STATS_DESCRIPTION = "Providing endpoint statistics in an instance";
352:
353: //----------------------------END - Provider specific statistics keys ------------------------------------------------------
354:
355: //----------------------------BEGIN - Consuming endpoint specific statistics keys ------------------------------------------------------
356: /**
357: * Status time
358: */
359: public static final String CONSUMING_ENDPOINT_STATUS_TIME = "MessageExchangeStatusTime Avg (ns)";
360:
361: /**
362: * stats name
363: */
364: public static final String CONSUMING_ENDPOINT_STATS_NAME = "ConsumerEndpointStats";
365:
366: /**
367: * stats description
368: */
369: public static final String CONSUMING_ENDPOINT_STATS_DESCRIPTION = "Consumer Endpoint Statistics";
370:
371: //----------------------------END - Consuming endpoint specific statistics keys ------------------------------------------------------
372:
373: //----------------------------BEGIN - Endpoint list statistics specific statistics keys ------------------------------------------------------
374:
375: /**
376: * endpoints list - composite data name
377: */
378: public static final String ENDPOINT_LIST_STATISTICS_NAME = "EndpointsList";
379:
380: /**
381: * endpoints list - composite data description
382: */
383: public static final String ENDPOINT_LIST_STATISTICS_DESCRIPTION = "List of Endpoints";
384:
385: /**
386: * endpoints list table name
387: */
388: public static final String ENDPOINT_LIST_STATISTICS_TABLE_NAME = "Endpoints Table";
389:
390: /**
391: * endpoints list table description
392: */
393: public static final String ENDPOINT_LIST_STATISTICS_TABLE_DESCRIPTION = "Endpoints Table";
394:
395: /**
396: * item name for endpoints list
397: */
398: public static final String ENDPOINTS_LIST_ITEM_NAME = "Endpoints";
399:
400: //----------------------------END - Endpoint list statistics specific keys ------------------------------------------------------
401:
402: }
|