1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model.jmx;
12
13
14
15
16 public class ClusterSender {
17
18
19 private String address;
20
21
22 private int port;
23
24
25 private long avgMessageSize;
26
27
28 private long avgProcessingTime;
29
30
31 private long connectCounter;
32
33
34 private long disconnectCounter;
35
36
37 private boolean connected;
38
39
40 private long keepAliveTimeout;
41
42
43 private long nrOfRequests;
44
45
46 private long totalBytes;
47
48
49 private boolean resend;
50
51
52 private boolean suspect;
53
54
55
56
57
58
59 public String getAddress() {
60 return address;
61 }
62
63
64
65
66
67
68 public void setAddress(String address) {
69 this.address = address;
70 }
71
72
73
74
75
76
77 public int getPort() {
78 return port;
79 }
80
81
82
83
84
85
86 public void setPort(int port) {
87 this.port = port;
88 }
89
90
91
92
93
94
95 public long getAvgMessageSize() {
96 return avgMessageSize;
97 }
98
99
100
101
102
103
104 public void setAvgMessageSize(long avgMessageSize) {
105 this.avgMessageSize = avgMessageSize;
106 }
107
108
109
110
111
112
113 public long getConnectCounter() {
114 return connectCounter;
115 }
116
117
118
119
120
121
122 public void setConnectCounter(long connectCounter) {
123 this.connectCounter = connectCounter;
124 }
125
126
127
128
129
130
131 public long getDisconnectCounter() {
132 return disconnectCounter;
133 }
134
135
136
137
138
139
140 public void setDisconnectCounter(long disconnectCounter) {
141 this.disconnectCounter = disconnectCounter;
142 }
143
144
145
146
147
148
149 public boolean isConnected() {
150 return connected;
151 }
152
153
154
155
156
157
158 public void setConnected(boolean connected) {
159 this.connected = connected;
160 }
161
162
163
164
165
166
167 public long getKeepAliveTimeout() {
168 return keepAliveTimeout;
169 }
170
171
172
173
174
175
176 public void setKeepAliveTimeout(long keepAliveTimeout) {
177 this.keepAliveTimeout = keepAliveTimeout;
178 }
179
180
181
182
183
184
185 public long getNrOfRequests() {
186 return nrOfRequests;
187 }
188
189
190
191
192
193
194 public void setNrOfRequests(long nrOfRequests) {
195 this.nrOfRequests = nrOfRequests;
196 }
197
198
199
200
201
202
203 public long getTotalBytes() {
204 return totalBytes;
205 }
206
207
208
209
210
211
212 public void setTotalBytes(long totalBytes) {
213 this.totalBytes = totalBytes;
214 }
215
216
217
218
219
220
221 public boolean isResend() {
222 return resend;
223 }
224
225
226
227
228
229
230 public void setResend(boolean resend) {
231 this.resend = resend;
232 }
233
234
235
236
237
238
239 public boolean isSuspect() {
240 return suspect;
241 }
242
243
244
245
246
247
248 public void setSuspect(boolean suspect) {
249 this.suspect = suspect;
250 }
251
252
253
254
255
256
257 public long getAvgProcessingTime() {
258 return avgProcessingTime;
259 }
260
261
262
263
264
265
266 public void setAvgProcessingTime(long avgProcessingTime) {
267 this.avgProcessingTime = avgProcessingTime;
268 }
269
270 }