[SDNC-5] Rebase sdnc-core
[sdnc/core.git] / dblib / common / src / main / java / org / apache / tomcat / jdbc / pool / interceptor / mbeans-descriptors.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   openecomp
5   ================================================================================
6   Copyright (C) 2016 - 2017 AT&T
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11   
12        http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19   ============LICENSE_END=========================================================
20   -->
21
22 <!--
23  Licensed to the Apache Software Foundation (ASF) under one or more
24   contributor license agreements.  See the NOTICE file distributed with
25   this work for additional information regarding copyright ownership.
26   The ASF licenses this file to You under the Apache License, Version 2.0
27   (the "License"); you may not use this file except in compliance with
28   the License.  You may obtain a copy of the License at
29
30       http://www.apache.org/licenses/LICENSE-2.0
31
32   Unless required by applicable law or agreed to in writing, software
33   distributed under the License is distributed on an "AS IS" BASIS,
34   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35   See the License for the specific language governing permissions and
36   limitations under the License.
37 -->
38 <mbeans-descriptors>
39
40   <mbean description="Reports " domain="tomcat.jdbc" group="jdbc-pool" name="SlowQueryReportJmx"
41          type="org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx">
42
43     <attribute description="The name of the connection pool this Jmx bean is representing" name="poolName" type="java.lang.String" writeable="false"/>
44     <attribute description="List of all registered connections pools" name="poolNames" type="[java.lang.String;" writeable="false"/>
45     <attribute description="All the recorded query stats. " name="slowQueriesCD" type="[javax.management.openmbean.CompositeData;" writeable="false"/>
46     <operation description="Clears all the query stats" impact="ACTION" name="resetStats" returnType="void"/>
47
48     <notification description="Notification sent out by the slow query report when a query exceeds the threshold" name="slow-query">
49       <notification-type>Slow query</notification-type>
50     </notification>
51
52     <notification description="Notification sent out by the slow query report when a query fails execution" name="failed-query">
53       <notification-type>Failed query execution</notification-type>
54     </notification>
55   </mbean>
56 </mbeans-descriptors>