@Override
        public List<JVMThreadDataPo> handle(ResultSet rs) throws SQLException {
            List<JVMThreadDataPo> list = new ArrayList<JVMThreadDataPo>();

            while (rs.next()) {
                JVMThreadDataPo po = new JVMThreadDataPo();
                po.setTimestamp(rs.getLong("timestamp"));

                po.setDaemonThreadCount(rs.getInt("daemon_thread_count"));
                po.setThreadCount(rs.getInt("thread_count"));
                po.setTotalStartedThreadCount(rs.getLong("total_started_thread_count"));
                po.setDeadLockedThreadCount(rs.getInt("dead_locked_thread_count"));
                po.setProcessCpuTimeRate(rs.getDouble("process_cpu_time_rate"));
                list.add(po);
            }
            return list;
        }
@author Robert HG (254963746@qq.com) on 3/9/16.
lts-admin/src/main/java/com/github/ltsopensource/admin/access/RshHandler.java