status.xsd
上传用户:bj_pst
上传日期:2019-07-07
资源大小:7353k
文件大小:4k
源码类别:

Java编程

开发平台:

Java

  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.       http://www.apache.org/licenses/LICENSE-2.0
  10.   Unless required by applicable law or agreed to in writing, software
  11.   distributed under the License is distributed on an "AS IS" BASIS,
  12.   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.   See the License for the specific language governing permissions and
  14.   limitations under the License.
  15. -->
  16. <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by peter lin (consultant) -->
  17. <!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
  18. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  19. <xs:complexType name="connector">
  20. <xs:sequence>
  21. <xs:element name="threadInfo" type="threadInfo"/>
  22. <xs:element name="requestInfo" type="requestInfo"/>
  23. <xs:element name="workers" type="workers"/>
  24. </xs:sequence>
  25. <xs:attribute name="name" type="xs:string" use="required"/>
  26. </xs:complexType>
  27. <xs:complexType name="jvm">
  28. <xs:sequence>
  29. <xs:element name="memory" type="memory"/>
  30. </xs:sequence>
  31. </xs:complexType>
  32. <xs:complexType name="memory">
  33. <xs:attribute name="free" type="xs:long" use="required"/>
  34. <xs:attribute name="total" type="xs:long" use="required"/>
  35. <xs:attribute name="max" type="xs:long" use="required"/>
  36. </xs:complexType>
  37. <xs:complexType name="requestInfo">
  38. <xs:attribute name="maxTime" type="xs:long" use="required"/>
  39. <xs:attribute name="processingTime" type="xs:int" use="required"/>
  40. <xs:attribute name="requestCount" type="xs:long" use="required"/>
  41. <xs:attribute name="errorCount" type="xs:long" use="required"/>
  42. <xs:attribute name="bytesReceived" type="xs:long" use="required"/>
  43. <xs:attribute name="bytesSent" type="xs:long" use="required"/>
  44. </xs:complexType>
  45. <xs:element name="status">
  46. <xs:complexType>
  47. <xs:sequence>
  48. <xs:element name="jvm" type="jvm"/>
  49. <xs:element name="connector" type="connector"/>
  50. </xs:sequence>
  51. </xs:complexType>
  52. </xs:element>
  53. <xs:complexType name="threadInfo">
  54. <xs:attribute name="maxThreads" type="xs:int" use="required"/>
  55. <xs:attribute name="minSpareThreads" type="xs:int" use="required"/>
  56. <xs:attribute name="maxSpareThreads" type="xs:int" use="required"/>
  57. <xs:attribute name="currentThreadCount" type="xs:int" use="required"/>
  58. <xs:attribute name="currentThreadsBusy" type="xs:int" use="required"/>
  59. </xs:complexType>
  60. <xs:complexType name="worker">
  61. <xs:attribute name="stage" type="xs:string" use="required"/>
  62. <xs:attribute name="requestProcessingTime" type="xs:int" use="required"/>
  63. <xs:attribute name="requestBytesSent" type="xs:long" use="required"/>
  64. <xs:attribute name="requestBytesRecieved" type="xs:long" use="required"/>
  65. <xs:attribute name="remoteAddr" type="xs:string" use="required"/>
  66. <xs:attribute name="virtualHost" type="xs:string" use="required"/>
  67. <xs:attribute name="method" type="xs:string" use="required"/>
  68. <xs:attribute name="currentUri" type="xs:string" use="required"/>
  69. <xs:attribute name="currentQueryString" type="xs:string" use="required"/>
  70. <xs:attribute name="protocol" type="xs:string" use="required"/>
  71. </xs:complexType>
  72. <xs:complexType name="workers">
  73. <xs:sequence>
  74. <xs:element name="worker" type="worker"/>
  75. </xs:sequence>
  76. </xs:complexType>
  77. </xs:schema>