1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model.jmx;
12
13
14
15
16 public class RuntimeInformation {
17
18
19 private String vmVendor;
20
21
22 private long committedVirtualMemorySize;
23
24
25 private long freePhysicalMemorySize;
26
27
28 private long freeSwapSpaceSize;
29
30
31 private long processCpuTime;
32
33
34 private int availableProcessors = 1;
35
36
37 private long totalPhysicalMemorySize;
38
39
40 private long totalSwapSpaceSize;
41
42
43 private String osName;
44
45
46 private String osVersion;
47
48
49 private long startTime;
50
51
52 private long uptime;
53
54
55 private long openFileDescriptorCount;
56
57
58 private long maxFileDescriptorCount;
59
60
61
62
63
64
65 public long getCommittedVirtualMemorySize() {
66 return committedVirtualMemorySize;
67 }
68
69
70
71
72
73
74 public void setCommittedVirtualMemorySize(long committedVirtualMemorySize) {
75 this.committedVirtualMemorySize = committedVirtualMemorySize;
76 }
77
78
79
80
81
82
83 public long getFreePhysicalMemorySize() {
84 return freePhysicalMemorySize;
85 }
86
87
88
89
90
91
92 public void setFreePhysicalMemorySize(long freePhysicalMemorySize) {
93 this.freePhysicalMemorySize = freePhysicalMemorySize;
94 }
95
96
97
98
99
100
101 public long getFreeSwapSpaceSize() {
102 return freeSwapSpaceSize;
103 }
104
105
106
107
108
109
110 public void setFreeSwapSpaceSize(long freeSwapSpaceSize) {
111 this.freeSwapSpaceSize = freeSwapSpaceSize;
112 }
113
114
115
116
117
118
119 public long getProcessCpuTime() {
120 return processCpuTime;
121 }
122
123
124
125
126
127
128 public void setProcessCpuTime(long processCpuTime) {
129 this.processCpuTime = processCpuTime;
130 }
131
132
133
134
135
136
137 public int getAvailableProcessors() {
138 return availableProcessors;
139 }
140
141
142
143
144
145
146 public void setAvailableProcessors(int availableProcessors) {
147 this.availableProcessors = availableProcessors;
148 }
149
150
151
152
153
154
155 public long getTotalPhysicalMemorySize() {
156 return totalPhysicalMemorySize;
157 }
158
159
160
161
162
163
164 public void setTotalPhysicalMemorySize(long totalPhysicalMemorySize) {
165 this.totalPhysicalMemorySize = totalPhysicalMemorySize;
166 }
167
168
169
170
171
172
173 public long getTotalSwapSpaceSize() {
174 return totalSwapSpaceSize;
175 }
176
177
178
179
180
181
182 public void setTotalSwapSpaceSize(long totalSwapSpaceSize) {
183 this.totalSwapSpaceSize = totalSwapSpaceSize;
184 }
185
186
187
188
189
190
191 public String getOsName() {
192 return osName;
193 }
194
195
196
197
198
199
200 public void setOsName(String osName) {
201 this.osName = osName;
202 }
203
204
205
206
207
208
209 public String getOsVersion() {
210 return osVersion;
211 }
212
213
214
215
216
217
218 public void setOsVersion(String osVersion) {
219 this.osVersion = osVersion;
220 }
221
222
223
224
225
226
227 public long getStartTime() {
228 return startTime;
229 }
230
231
232
233
234
235
236 public void setStartTime(long startTime) {
237 this.startTime = startTime;
238 }
239
240
241
242
243
244
245 public long getUptime() {
246 return uptime;
247 }
248
249
250
251
252
253
254 public void setUptime(long uptime) {
255 this.uptime = uptime;
256 }
257
258
259
260
261
262
263 public String getVmVendor() {
264 return vmVendor;
265 }
266
267
268
269
270
271
272 public void setVmVendor(String vmVendor) {
273 this.vmVendor = vmVendor;
274 }
275
276
277
278
279
280
281 public long getOpenFileDescriptorCount() {
282 return openFileDescriptorCount;
283 }
284
285
286
287
288
289
290 public void setOpenFileDescriptorCount(long openFileDescriptorCount) {
291 this.openFileDescriptorCount = openFileDescriptorCount;
292 }
293
294
295
296
297
298
299 public long getMaxFileDescriptorCount() {
300 return maxFileDescriptorCount;
301 }
302
303
304
305
306
307
308 public void setMaxFileDescriptorCount(long maxFileDescriptorCount) {
309 this.maxFileDescriptorCount = maxFileDescriptorCount;
310 }
311
312 }