| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <script>
- Z.onload(function()
- {
- });
- </script>
- <button onclick="location.reload();" class="z-button z-large z-w120 z-mg-r15 z-blue z-float-right">重置</button>
- <table class="z-table z-bordered-line z-pd5 zi-bd z-bg-blue z-mg-t20">
- <thead>
- <th colspan="3" class="z-h40" style="background-color:white">
- 线程池状态(正在处理:${runNum} 休眠:${sleepNum})
- </th>
- </thead>
- <tbody>
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td>线程名</td>
- <td>当前状态</td>
- <td>上次休眠时间</td>
- </tr>
- <#for item : theaderList>
- <tr>
- <td>${item.getThreadName()}</td>
- <td>${item.isActive() ? "正在处理" : "休眠"}</td>
- <td>${item.getIdleTimeString()}</td>
- </tr>
- </#for>
- </tbody>
- </table>
- <table class="z-table z-bordered-line z-pd5 zi-bd z-bg-blue z-mg-t20">
- <thead>
- <th colspan="4" class="z-h40" style="background-color:white">
- 等待队列(${waitQueue.size()})
- </th>
- </thead>
- <tbody>
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td>队列ID</td>
- <td>队列状态</td>
- <td>模板ID</td>
- <td>完成时间</td>
- </tr>
- <#for item : waitQueue>
- <tr>
- <td>${item.getObj().getHandleId()}</td>
- <td>
- <#if item.getObj().getHandleStatus()==0>
- 等待处理
- <#elseif item.getObj().getHandleStatus()==1>
- 处理中
- <#elseif item.getObj().getHandleStatus()==2>
- 处理完成
- <#elseif item.getObj().getHandleStatus()==3>
- 处理失败
- </#if>
- </td>
- <td>${item.getObj().getMediaId()}</td>
- <td>${DateTimes.toDateTimeString(item.getObj().getFinishTime())}</td>
- </tr>
- </#for>
- </tbody>
- </table>
- <table class="z-table z-bordered-line z-pd5 zi-bd z-bg-blue z-mg-t20">
- <thead>
- <th colspan="4" class="z-h40" style="background-color:white">
- 已完成队列(${finishList.size()})
- </th>
- </thead>
- <tbody>
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td>队列ID</td>
- <td>队列状态</td>
- <td>模板ID</td>
- <td>完成时间</td>
- </tr>
- <#for item : finishList>
- <tr>
- <td>${item.getHandleId()}</td>
- <td>
- <#if item.getHandleStatus()==0>
- 等待处理
- <#elseif item.getHandleStatus()==1>
- 处理中
- <#elseif item.getHandleStatus()==2>
- 处理完成
- <#elseif item.getHandleStatus()==3>
- 处理失败
- </#if>
- </td>
- <td>${item.getMediaId()}</td>
- <td>${DateTimes.toDateTimeString(item.getFinishTime())}</td>
- </tr>
- </#for>
- </tbody>
- </table>
|