index.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>TxManager v4.1.0</title>
  6. <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
  7. <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css"/>
  8. <script src="./jquery/jquery.min.js"></script>
  9. <script src="./jquery/jquery.blockUI.min.js"></script>
  10. <script src="./jquery/jquery.blockUI-css.js"></script>
  11. <script src="./common/common.js"></script>
  12. <script src="./common/http.js"></script>
  13. <link rel="shortcut icon" href="static/images/logo.png">
  14. <style>
  15. .container{
  16. margin-top:20px;
  17. }
  18. .table-responsive{
  19. margin-top:30px;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <div class="container">
  25. <!--<h3 class="text-center">TxManagerV4.1.0 服务已启动</h3>-->
  26. <h3 class="text-center">事务协调器服务已启动</h3>
  27. <div class="table-responsive">
  28. <table class="table table-bordered table-striped">
  29. <colgroup>
  30. <col class="col-xs-4"/>
  31. <col class="col-xs-8"/>
  32. </colgroup>
  33. <thead>
  34. <tr>
  35. <th>属性名称</th>
  36. <th>属性值</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. <tr>
  41. <th scope="row">
  42. Socket对外服务IP
  43. </th>
  44. <td><span id="ip"></span></td>
  45. </tr>
  46. <tr>
  47. <th scope="row">
  48. Socket对外服务端口
  49. </th>
  50. <td><span id="port"></span></td>
  51. </tr>
  52. <tr>
  53. <th scope="row">
  54. 最大连接数
  55. </th>
  56. <td><span id="maxConnection"></span></td>
  57. </tr>
  58. <tr>
  59. <th scope="row">
  60. 当前连接数
  61. </th>
  62. <td><span id="nowConnection"></span></td>
  63. </tr>
  64. <tr>
  65. <th scope="row">
  66. TxManager模块心跳间隔时间(秒)
  67. </th>
  68. <td><span id="transactionNettyHeartTime"></span></td>
  69. </tr>
  70. <tr>
  71. <th scope="row">
  72. TxManager模块通讯最大等待时间(秒)
  73. </th>
  74. <td><span id="transactionNettyDelayTime"></span></td>
  75. </tr>
  76. <tr>
  77. <th scope="row">
  78. redis服务状态
  79. </th>
  80. <td><span id="redisState"></span></td>
  81. </tr>
  82. <tr>
  83. <th scope="row">
  84. redis存储最大时间(秒)
  85. </th>
  86. <td><span id="redisSaveMaxTime"></span></td>
  87. </tr>
  88. <tr>
  89. <th scope="row">
  90. 负载均衡服务器地址
  91. </th>
  92. <td><span id="slbList"></span></td>
  93. </tr>
  94. <tr>
  95. <th scope="row">
  96. 补偿回调地址(rest api 地址,post json格式)
  97. </th>
  98. <td><span id="notifyUrl"></span></td>
  99. </tr>
  100. <tr>
  101. <th scope="row">
  102. 存在补偿数据
  103. </th>
  104. <td><span id="hasCompensate"></span></td>
  105. </tr>
  106. <tr>
  107. <th scope="row">
  108. 开启自动补偿(true 开启,false 关闭)
  109. </th>
  110. <td><span id="compensate"></span></td>
  111. </tr>
  112. <tr>
  113. <th scope="row">
  114. 补偿失败尝试间隔时间(秒)
  115. </th>
  116. <td><span id="compensateTryTime"></span></td>
  117. </tr>
  118. <tr>
  119. <th scope="row">
  120. 各事务模块自动补偿的时间上限(毫秒)
  121. </th>
  122. <td><span id="compensateMaxWaitTime"></span></td>
  123. </tr>
  124. </tbody>
  125. </table>
  126. <a href="model.html" style="margin-left: 20px;" class="btn btn-info pull-right">在线模块</a>
  127. <a href="log.html" class="btn btn-warning pull-right">事务补偿</a>
  128. </div>
  129. <script src="./index.js"></script>
  130. </div>
  131. </body>
  132. </html>