1
2 package org.miloss.fgsms.services.interfaces.datacollector;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
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 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "BrokerData", propOrder = {
45 "queueOrTopicName",
46 "queueOrTopicCanonicalName",
47 "messagesIn",
48 "messagesOut",
49 "messagesDropped",
50 "activeConsumers",
51 "totalConsumers",
52 "bytesIn",
53 "bytesOut",
54 "bytesDropped",
55 "depth",
56 "itemType"
57 })
58 public class BrokerData
59 implements Serializable
60 {
61
62 private final static long serialVersionUID = 1L;
63 @XmlElement(name = "QueueOrTopicName", required = true)
64 protected String queueOrTopicName;
65 @XmlElement(name = "QueueOrTopicCanonicalName", required = true)
66 protected String queueOrTopicCanonicalName;
67 @XmlElement(name = "MessagesIn", defaultValue = "0")
68 protected long messagesIn;
69 @XmlElement(name = "MessagesOut", defaultValue = "0")
70 protected long messagesOut;
71 @XmlElement(name = "MessagesDropped", defaultValue = "0")
72 protected long messagesDropped;
73 @XmlElement(name = "ActiveConsumers", defaultValue = "0")
74 protected long activeConsumers;
75 @XmlElement(name = "TotalConsumers", defaultValue = "0")
76 protected long totalConsumers;
77 @XmlElement(name = "BytesIn", defaultValue = "0")
78 protected long bytesIn;
79 @XmlElement(name = "BytesOut", defaultValue = "0")
80 protected long bytesOut;
81 @XmlElement(name = "BytesDropped", defaultValue = "0")
82 protected long bytesDropped;
83 @XmlElement(name = "Depth", defaultValue = "0")
84 protected long depth;
85 @XmlElement(name = "ItemType", required = true)
86 protected String itemType;
87
88
89
90
91
92
93
94
95
96 public String getQueueOrTopicName() {
97 return queueOrTopicName;
98 }
99
100
101
102
103
104
105
106
107
108 public void setQueueOrTopicName(String value) {
109 this.queueOrTopicName = value;
110 }
111
112 public boolean isSetQueueOrTopicName() {
113 return (this.queueOrTopicName!= null);
114 }
115
116
117
118
119
120
121
122
123
124 public String getQueueOrTopicCanonicalName() {
125 return queueOrTopicCanonicalName;
126 }
127
128
129
130
131
132
133
134
135
136 public void setQueueOrTopicCanonicalName(String value) {
137 this.queueOrTopicCanonicalName = value;
138 }
139
140 public boolean isSetQueueOrTopicCanonicalName() {
141 return (this.queueOrTopicCanonicalName!= null);
142 }
143
144
145
146
147
148 public long getMessagesIn() {
149 return messagesIn;
150 }
151
152
153
154
155
156 public void setMessagesIn(long value) {
157 this.messagesIn = value;
158 }
159
160 public boolean isSetMessagesIn() {
161 return true;
162 }
163
164
165
166
167
168 public long getMessagesOut() {
169 return messagesOut;
170 }
171
172
173
174
175
176 public void setMessagesOut(long value) {
177 this.messagesOut = value;
178 }
179
180 public boolean isSetMessagesOut() {
181 return true;
182 }
183
184
185
186
187
188 public long getMessagesDropped() {
189 return messagesDropped;
190 }
191
192
193
194
195
196 public void setMessagesDropped(long value) {
197 this.messagesDropped = value;
198 }
199
200 public boolean isSetMessagesDropped() {
201 return true;
202 }
203
204
205
206
207
208 public long getActiveConsumers() {
209 return activeConsumers;
210 }
211
212
213
214
215
216 public void setActiveConsumers(long value) {
217 this.activeConsumers = value;
218 }
219
220 public boolean isSetActiveConsumers() {
221 return true;
222 }
223
224
225
226
227
228 public long getTotalConsumers() {
229 return totalConsumers;
230 }
231
232
233
234
235
236 public void setTotalConsumers(long value) {
237 this.totalConsumers = value;
238 }
239
240 public boolean isSetTotalConsumers() {
241 return true;
242 }
243
244
245
246
247
248 public long getBytesIn() {
249 return bytesIn;
250 }
251
252
253
254
255
256 public void setBytesIn(long value) {
257 this.bytesIn = value;
258 }
259
260 public boolean isSetBytesIn() {
261 return true;
262 }
263
264
265
266
267
268 public long getBytesOut() {
269 return bytesOut;
270 }
271
272
273
274
275
276 public void setBytesOut(long value) {
277 this.bytesOut = value;
278 }
279
280 public boolean isSetBytesOut() {
281 return true;
282 }
283
284
285
286
287
288 public long getBytesDropped() {
289 return bytesDropped;
290 }
291
292
293
294
295
296 public void setBytesDropped(long value) {
297 this.bytesDropped = value;
298 }
299
300 public boolean isSetBytesDropped() {
301 return true;
302 }
303
304
305
306
307
308 public long getDepth() {
309 return depth;
310 }
311
312
313
314
315
316 public void setDepth(long value) {
317 this.depth = value;
318 }
319
320 public boolean isSetDepth() {
321 return true;
322 }
323
324
325
326
327
328
329
330
331
332 public String getItemType() {
333 return itemType;
334 }
335
336
337
338
339
340
341
342
343
344 public void setItemType(String value) {
345 this.itemType = value;
346 }
347
348 public boolean isSetItemType() {
349 return (this.itemType!= null);
350 }
351
352 }