1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model;
12
13 import java.io.Serializable;
14
15
16
17
18 public class Application implements Serializable {
19
20
21 private static final long serialVersionUID = 1L;
22
23
24 private String name;
25
26
27 private String displayName;
28
29
30 private String docBase;
31
32
33 private boolean available;
34
35
36 private long sessionCount;
37
38
39 private long sessionAttributeCount;
40
41
42 private int contextAttributeCount;
43
44
45 private int dataSourceBusyScore;
46
47
48 private int dataSourceEstablishedScore;
49
50
51 private boolean distributable;
52
53
54 private int sessionTimeout;
55
56
57 private String servletVersion;
58
59
60 private boolean serializable;
61
62
63 private long size;
64
65
66 private int servletCount;
67
68
69 private int requestCount;
70
71
72 private long processingTime;
73
74
75 private int errorCount;
76
77
78 private long minTime;
79
80
81 private long maxTime;
82
83
84 private long avgTime;
85
86
87
88
89
90
91 public String getName() {
92 return name;
93 }
94
95
96
97
98
99
100 public void setName(String name) {
101 this.name = name;
102 }
103
104
105
106
107
108
109 public String getDisplayName() {
110 return displayName;
111 }
112
113
114
115
116
117
118 public void setDisplayName(String displayName) {
119 this.displayName = displayName;
120 }
121
122
123
124
125
126
127 public String getDocBase() {
128 return docBase;
129 }
130
131
132
133
134
135
136 public void setDocBase(String docBase) {
137 this.docBase = docBase;
138 }
139
140
141
142
143
144
145 public boolean isAvailable() {
146 return available;
147 }
148
149
150
151
152
153
154 public void setAvailable(boolean available) {
155 this.available = available;
156 }
157
158
159
160
161
162
163 public long getSessionCount() {
164 return sessionCount;
165 }
166
167
168
169
170
171
172 public void setSessionCount(long sessionCount) {
173 this.sessionCount = sessionCount;
174 }
175
176
177
178
179
180
181 public long getSessionAttributeCount() {
182 return sessionAttributeCount;
183 }
184
185
186
187
188
189
190 public void setSessionAttributeCount(long sessionAttributeCount) {
191 this.sessionAttributeCount = sessionAttributeCount;
192 }
193
194
195
196
197
198
199 public int getContextAttributeCount() {
200 return contextAttributeCount;
201 }
202
203
204
205
206
207
208 public void setContextAttributeCount(int contextAttributeCount) {
209 this.contextAttributeCount = contextAttributeCount;
210 }
211
212
213
214
215
216
217 public int getDataSourceBusyScore() {
218 return dataSourceBusyScore;
219 }
220
221
222
223
224
225
226 public void setDataSourceBusyScore(int dataSourceBusyScore) {
227 this.dataSourceBusyScore = dataSourceBusyScore;
228 }
229
230
231
232
233
234
235 public int getDataSourceEstablishedScore() {
236 return dataSourceEstablishedScore;
237 }
238
239
240
241
242
243
244 public void setDataSourceEstablishedScore(int dataSourceEstablishedScore) {
245 this.dataSourceEstablishedScore = dataSourceEstablishedScore;
246 }
247
248
249
250
251
252
253 public boolean isDistributable() {
254 return distributable;
255 }
256
257
258
259
260
261
262 public void setDistributable(boolean distributable) {
263 this.distributable = distributable;
264 }
265
266
267
268
269
270
271 public int getSessionTimeout() {
272 return sessionTimeout;
273 }
274
275
276
277
278
279
280 public void setSessionTimeout(int sessionTimeout) {
281 this.sessionTimeout = sessionTimeout;
282 }
283
284
285
286
287
288
289 public String getServletVersion() {
290 return servletVersion;
291 }
292
293
294
295
296
297
298 public void setServletVersion(String servletVersion) {
299 this.servletVersion = servletVersion;
300 }
301
302
303
304
305
306
307 public long getSize() {
308 return size;
309 }
310
311
312
313
314
315
316 public void setSize(long size) {
317 this.size = size;
318 }
319
320
321
322
323
324
325 public void addSize(long size) {
326 this.size += size;
327 }
328
329
330
331
332
333
334 public boolean isSerializable() {
335 return serializable;
336 }
337
338
339
340
341
342
343 public void setSerializable(boolean serializable) {
344 this.serializable = serializable;
345 }
346
347
348
349
350
351
352 public int getServletCount() {
353 return servletCount;
354 }
355
356
357
358
359
360
361 public void setServletCount(int servletCount) {
362 this.servletCount = servletCount;
363 }
364
365
366
367
368
369
370 public int getRequestCount() {
371 return requestCount;
372 }
373
374
375
376
377
378
379 public void setRequestCount(int requestCount) {
380 this.requestCount = requestCount;
381 }
382
383
384
385
386
387
388 public long getProcessingTime() {
389 return processingTime;
390 }
391
392
393
394
395
396
397 public void setProcessingTime(long processingTime) {
398 this.processingTime = processingTime;
399 }
400
401
402
403
404
405
406 public int getErrorCount() {
407 return errorCount;
408 }
409
410
411
412
413
414
415 public void setErrorCount(int errorCount) {
416 this.errorCount = errorCount;
417 }
418
419
420
421
422
423
424 public long getMinTime() {
425 return minTime;
426 }
427
428
429
430
431
432
433 public void setMinTime(long minTime) {
434 this.minTime = minTime;
435 }
436
437
438
439
440
441
442 public long getMaxTime() {
443 return maxTime;
444 }
445
446
447
448
449
450
451 public void setMaxTime(long maxTime) {
452 this.maxTime = maxTime;
453 }
454
455
456
457
458
459
460 public long getAvgTime() {
461 return avgTime;
462 }
463
464
465
466
467
468
469 public void setAvgTime(long avgTime) {
470 this.avgTime = avgTime;
471 }
472
473 }