whyclj
2020-07-22 a5729100cb1eaa3584b3a194e46e1b8b52b3ed1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
package com.fgkj.dto.ram;
 
import java.io.Serializable;
import java.util.Date;
 
public class Server_state implements Serializable{
    private Integer num;
    private Float server_version;
    private Date server_datetime;
    private Long max_mem;
    private Long total_mem;
    private Long free_men;
    private Long total_disc_space;
    private Long free_disc_space;
    private Integer db_conn_max;
    private Integer db_conn_count;
    
    private int app_conn_max;       //主程序数据库连接池最大连接数
    private int app_busy_conn_cnt;  //主程序数据库连接池正在使用的连接数
    private int app_idle_conn_cnt;  //主程序数据库连接池空余连接数
    private float server_cpu_rate;  //服务器cpu使用率
    private float server_network_rate;//服务器网络使用率
    
    private String note;
    
    public Server_state() {
        super();
        // TODO Auto-generated constructor stub
    }
    public Integer getNum() {
        return num;
    }
    public void setNum(Integer num) {
        this.num = num;
    }
    public Float getServer_version() {
        return server_version;
    }
    public void setServer_version(Float server_version) {
        this.server_version = server_version;
    }
    public Date getServer_datetime() {
        return server_datetime;
    }
    public void setServer_datetime(Date server_datetime) {
        this.server_datetime = server_datetime;
    }
    
    public Long getMax_mem() {
        return max_mem;
    }
    public void setMax_mem(Long max_mem) {
        this.max_mem = max_mem;
    }
    public Long getTotal_mem() {
        return total_mem;
    }
    public void setTotal_mem(Long total_mem) {
        this.total_mem = total_mem;
    }
    public Long getFree_men() {
        return free_men;
    }
    public void setFree_men(Long free_men) {
        this.free_men = free_men;
    }
    public Long getTotal_disc_space() {
        return total_disc_space;
    }
    public void setTotal_disc_space(Long total_disc_space) {
        this.total_disc_space = total_disc_space;
    }
    public Long getFree_disc_space() {
        return free_disc_space;
    }
    public void setFree_disc_space(Long free_disc_space) {
        this.free_disc_space = free_disc_space;
    }
    public Integer getDb_conn_max() {
        return db_conn_max;
    }
    public void setDb_conn_max(Integer db_conn_max) {
        this.db_conn_max = db_conn_max;
    }
    public Integer getDb_conn_count() {
        return db_conn_count;
    }
    public void setDb_conn_count(Integer db_conn_count) {
        this.db_conn_count = db_conn_count;
    }
    public int getApp_conn_max() {
        return app_conn_max;
    }
    public void setApp_conn_max(int app_conn_max) {
        this.app_conn_max = app_conn_max;
    }
    public int getApp_busy_conn_cnt() {
        return app_busy_conn_cnt;
    }
    public void setApp_busy_conn_cnt(int app_busy_conn_cnt) {
        this.app_busy_conn_cnt = app_busy_conn_cnt;
    }
    public int getApp_idle_conn_cnt() {
        return app_idle_conn_cnt;
    }
    public void setApp_idle_conn_cnt(int app_idle_conn_cnt) {
        this.app_idle_conn_cnt = app_idle_conn_cnt;
    }
    public float getServer_cpu_rate() {
        return server_cpu_rate;
    }
    public void setServer_cpu_rate(float server_cpu_rate) {
        this.server_cpu_rate = server_cpu_rate;
    }
    public float getServer_network_rate() {
        return server_network_rate;
    }
    public void setServer_network_rate(float server_network_rate) {
        this.server_network_rate = server_network_rate;
    }
    public String getNote() {
        return note;
    }
    public void setNote(String note) {
        this.note = note;
    }
    @Override
    public String toString() {
        return "Server_state [num=" + num + ", server_version=" + server_version + ", server_datetime="
                + server_datetime + ", max_mem=" + max_mem + ", total_mem=" + total_mem + ", free_men=" + free_men
                + ", total_disc_space=" + total_disc_space + ", free_disc_space=" + free_disc_space + ", db_conn_max="
                + db_conn_max + ", db_conn_count=" + db_conn_count + ", app_conn_max=" + app_conn_max
                + ", app_busy_conn_cnt=" + app_busy_conn_cnt + ", app_idle_conn_cnt=" + app_idle_conn_cnt
                + ", server_cpu_rate=" + server_cpu_rate + ", server_network_rate=" + server_network_rate + ", note="
                + note + "]";
    }
    
    
 
}