1 /*
2 * Licensed under the GPL License. You may not use this file except in compliance with the License.
3 * You may obtain a copy of the License at
4 *
5 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6 *
7 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8 * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9 * PURPOSE.
10 */
11 package psiprobe.model.jmx;
12
13 /**
14 * The Class SyncClusterSender.
15 */
16 public class SyncClusterSender extends ClusterSender {
17
18 /** The data failure counter. */
19 private long dataFailureCounter;
20
21 /** The data resend counter. */
22 private long dataResendCounter;
23
24 /** The socket open counter. */
25 private long socketOpenCounter;
26
27 /** The socket close counter. */
28 private long socketCloseCounter;
29
30 /** The socket open failure counter. */
31 private long socketOpenFailureCounter;
32
33 /**
34 * Gets the data failure counter.
35 *
36 * @return the data failure counter
37 */
38 public long getDataFailureCounter() {
39 return dataFailureCounter;
40 }
41
42 /**
43 * Sets the data failure counter.
44 *
45 * @param dataFailureCounter the new data failure counter
46 */
47 public void setDataFailureCounter(long dataFailureCounter) {
48 this.dataFailureCounter = dataFailureCounter;
49 }
50
51 /**
52 * Gets the data resend counter.
53 *
54 * @return the data resend counter
55 */
56 public long getDataResendCounter() {
57 return dataResendCounter;
58 }
59
60 /**
61 * Sets the data resend counter.
62 *
63 * @param dataResendCounter the new data resend counter
64 */
65 public void setDataResendCounter(long dataResendCounter) {
66 this.dataResendCounter = dataResendCounter;
67 }
68
69 /**
70 * Gets the socket open counter.
71 *
72 * @return the socket open counter
73 */
74 public long getSocketOpenCounter() {
75 return socketOpenCounter;
76 }
77
78 /**
79 * Sets the socket open counter.
80 *
81 * @param socketOpenCounter the new socket open counter
82 */
83 public void setSocketOpenCounter(long socketOpenCounter) {
84 this.socketOpenCounter = socketOpenCounter;
85 }
86
87 /**
88 * Gets the socket close counter.
89 *
90 * @return the socket close counter
91 */
92 public long getSocketCloseCounter() {
93 return socketCloseCounter;
94 }
95
96 /**
97 * Sets the socket close counter.
98 *
99 * @param socketCloseCounter the new socket close counter
100 */
101 public void setSocketCloseCounter(long socketCloseCounter) {
102 this.socketCloseCounter = socketCloseCounter;
103 }
104
105 /**
106 * Gets the socket open failure counter.
107 *
108 * @return the socket open failure counter
109 */
110 public long getSocketOpenFailureCounter() {
111 return socketOpenFailureCounter;
112 }
113
114 /**
115 * Sets the socket open failure counter.
116 *
117 * @param socketOpenFailureCounter the new socket open failure counter
118 */
119 public void setSocketOpenFailureCounter(long socketOpenFailureCounter) {
120 this.socketOpenFailureCounter = socketOpenFailureCounter;
121 }
122
123 }