01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)PerformanceDataXMLConstants.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: package com.sun.esb.management.common.data.helper;
30:
31: import java.io.Serializable;
32:
33: /**
34: * XML constants required to parse or create Performance Measurement data
35: *
36: * @author graj
37: */
38: public interface PerformanceDataXMLConstants extends Serializable {
39: // XML TAGS
40: public static final String VERSION_KEY = "version";
41:
42: public static final String VERSION_VALUE = "1.0";
43:
44: public static final String NAMESPACE_KEY = "xmlns";
45:
46: public static final String NAMESPACE_VALUE = "http://java.sun.com/xml/ns/esb/management/PerformanceMeasurementDataList";
47:
48: public static final String PERFORMANCE_MEASUREMENT_DATA_LIST_KEY = "PerformanceMeasurementDataList";
49:
50: public static final String PERFORMANCE_MEASUREMENT_DATA_KEY = "PerformanceMeasurementData";
51:
52: public static final String CATEGORY_KEY = "category";
53:
54: public static final String ENDPOINT_KEY = "endpoint";
55:
56: public static final String SOURCE_CLASS_NAME_KEY = "sourceClassName";
57:
58: public static final String NUMBER_OF_MEASUREMENT_OBJECTS_KEY = "numberOfMeasurementObjects";
59:
60: public static final String NUMBER_OF_MEASUREMENTS_KEY = "numberOfMeasurements";
61:
62: public static final String AVERAGE_KEY = "average";
63:
64: public static final String AVERAGE_WITHOUT_FIRST_MEASUREMENT_KEY = "averageWithoutFirstMeasurement";
65:
66: public static final String FIRST_MEASUREMENT_TIME_KEY = "firstMeasurementTime";
67:
68: public static final String LOAD_KEY = "load";
69:
70: public static final String MEDIAN_KEY = "median";
71:
72: public static final String THROUGHPUT_KEY = "throughput";
73:
74: public static final String TIME_TAKEN_KEY = "timeTaken";
75:
76: public static final String TOTAL_TIME_KEY = "totalTime";
77:
78: }
|