1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!-- |
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
4 | contributor license agreements. See the NOTICE file distributed with |
---|
5 | this work for additional information regarding copyright ownership. |
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
7 | (the "License"); you may not use this file except in compliance with |
---|
8 | the License. You may obtain a copy of the License at |
---|
9 | |
---|
10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | |
---|
12 | Unless required by applicable law or agreed to in writing, software |
---|
13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
15 | See the License for the specific language governing permissions and |
---|
16 | limitations under the License. |
---|
17 | --> |
---|
18 | <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by peter lin (consultant) --> |
---|
19 | <!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)--> |
---|
20 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
---|
21 | <xs:complexType name="connector"> |
---|
22 | <xs:sequence> |
---|
23 | <xs:element name="threadInfo" type="threadInfo"/> |
---|
24 | <xs:element name="requestInfo" type="requestInfo"/> |
---|
25 | <xs:element name="workers" type="workers"/> |
---|
26 | </xs:sequence> |
---|
27 | <xs:attribute name="name" type="xs:string" use="required"/> |
---|
28 | </xs:complexType> |
---|
29 | <xs:complexType name="jvm"> |
---|
30 | <xs:sequence> |
---|
31 | <xs:element name="memory" type="memory"/> |
---|
32 | </xs:sequence> |
---|
33 | </xs:complexType> |
---|
34 | <xs:complexType name="memory"> |
---|
35 | <xs:attribute name="free" type="xs:long" use="required"/> |
---|
36 | <xs:attribute name="total" type="xs:long" use="required"/> |
---|
37 | <xs:attribute name="max" type="xs:long" use="required"/> |
---|
38 | </xs:complexType> |
---|
39 | <xs:complexType name="requestInfo"> |
---|
40 | <xs:attribute name="maxTime" type="xs:long" use="required"/> |
---|
41 | <xs:attribute name="processingTime" type="xs:int" use="required"/> |
---|
42 | <xs:attribute name="requestCount" type="xs:long" use="required"/> |
---|
43 | <xs:attribute name="errorCount" type="xs:long" use="required"/> |
---|
44 | <xs:attribute name="bytesReceived" type="xs:long" use="required"/> |
---|
45 | <xs:attribute name="bytesSent" type="xs:long" use="required"/> |
---|
46 | </xs:complexType> |
---|
47 | <xs:element name="status"> |
---|
48 | <xs:complexType> |
---|
49 | <xs:sequence> |
---|
50 | <xs:element name="jvm" type="jvm"/> |
---|
51 | <xs:element name="connector" type="connector"/> |
---|
52 | </xs:sequence> |
---|
53 | </xs:complexType> |
---|
54 | </xs:element> |
---|
55 | <xs:complexType name="threadInfo"> |
---|
56 | <xs:attribute name="maxThreads" type="xs:int" use="required"/> |
---|
57 | <xs:attribute name="minSpareThreads" type="xs:int" use="required"/> |
---|
58 | <xs:attribute name="maxSpareThreads" type="xs:int" use="required"/> |
---|
59 | <xs:attribute name="currentThreadCount" type="xs:int" use="required"/> |
---|
60 | <xs:attribute name="currentThreadsBusy" type="xs:int" use="required"/> |
---|
61 | </xs:complexType> |
---|
62 | <xs:complexType name="worker"> |
---|
63 | <xs:attribute name="stage" type="xs:string" use="required"/> |
---|
64 | <xs:attribute name="requestProcessingTime" type="xs:int" use="required"/> |
---|
65 | <xs:attribute name="requestBytesSent" type="xs:long" use="required"/> |
---|
66 | <xs:attribute name="requestBytesRecieved" type="xs:long" use="required"/> |
---|
67 | <xs:attribute name="remoteAddr" type="xs:string" use="required"/> |
---|
68 | <xs:attribute name="virtualHost" type="xs:string" use="required"/> |
---|
69 | <xs:attribute name="method" type="xs:string" use="required"/> |
---|
70 | <xs:attribute name="currentUri" type="xs:string" use="required"/> |
---|
71 | <xs:attribute name="currentQueryString" type="xs:string" use="required"/> |
---|
72 | <xs:attribute name="protocol" type="xs:string" use="required"/> |
---|
73 | </xs:complexType> |
---|
74 | <xs:complexType name="workers"> |
---|
75 | <xs:sequence> |
---|
76 | <xs:element name="worker" type="worker"/> |
---|
77 | </xs:sequence> |
---|
78 | </xs:complexType> |
---|
79 | </xs:schema> |
---|