bpmDruidConnectionInfo.jsp 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@taglib prefix="f" uri="http://www.jee-soft.cn/functions"%>
  4. <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  5. <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <title>Druid数据源连接信息</title>
  9. <%@include file="/commons/include/get.jsp"%>
  10. </head>
  11. <body>
  12. <div class="panel">
  13. <div class="panel-top">
  14. <div class="tbar-title">
  15. 数据源-${datasourceId } 连接信息
  16. </div>
  17. </div>
  18. <div class="panel-body">
  19. <div class="panel-toolbar">
  20. <div class="toolBar">
  21. <div class="group"><a class="link back" href="datasource.ht">返回</a></div>
  22. </div>
  23. </div>
  24. <div class="panel-data">
  25. <table cellspacing="1" cellpadding="5" class="table-detail">
  26. <thead>
  27. <tr>
  28. <th >ID</th>
  29. <th >使用次数</th>
  30. <th >最近活动时间</th>
  31. <th >连接时间</th>
  32. <th >Holdability</th>
  33. <th >事务隔离性</th>
  34. <th >自动提交事务</th>
  35. <th >只读性</th>
  36. <th >Pscache</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. <c:forEach items="${connectionInfos }" var="connectionInfo">
  41. <tr>
  42. <td>${connectionInfo['id']}</td>
  43. <td>${connectionInfo['useCount']}</td>
  44. <td>${connectionInfo['lastActiveTime']}</td>
  45. <td>${connectionInfo['connectTime']}</td>
  46. <td>${connectionInfo['holdability']}</td>
  47. <td>${connectionInfo['transactionIsolation']}</td>
  48. <td>${connectionInfo['autoCommit']}</td>
  49. <td>${connectionInfo['readoOnly']}</td>
  50. <td>
  51. <table class="table-detail">
  52. <thead>
  53. <tr>
  54. <th>SQL</th>
  55. <th>default Row Pretch</th>
  56. <th>row Prefetch</th>
  57. <th>hit Count</th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. <c:forEach items="${connectionInfo['pscache'] }" var="pscache">
  62. <tr>
  63. <td>${pscache['sql']}</td>
  64. <td>${pscache['defaultRowPretch']}</td>
  65. <td>${pscache['rowPrefetch']}</td>
  66. <td>${pscache['hitCount']}</td>
  67. </tr>
  68. </c:forEach>
  69. </tbody>
  70. </table>
  71. </td>
  72. </tr>
  73. </c:forEach>
  74. </tbody>
  75. </table>
  76. </div>
  77. </div>
  78. </div>
  79. </body>
  80. </html>