View Javadoc
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 AsyncClusterSender.
15   */
16  public class AsyncClusterSender extends SyncClusterSender {
17  
18    /** The in queue counter. */
19    private long inQueueCounter;
20  
21    /** The out queue counter. */
22    private long outQueueCounter;
23  
24    /** The queue size. */
25    private long queueSize;
26  
27    /** The queued nr of bytes. */
28    private long queuedNrOfBytes;
29  
30    /**
31     * Gets the in queue counter.
32     *
33     * @return the in queue counter
34     */
35    public long getInQueueCounter() {
36      return inQueueCounter;
37    }
38  
39    /**
40     * Sets the in queue counter.
41     *
42     * @param inQueueCounter the new in queue counter
43     */
44    public void setInQueueCounter(long inQueueCounter) {
45      this.inQueueCounter = inQueueCounter;
46    }
47  
48    /**
49     * Gets the out queue counter.
50     *
51     * @return the out queue counter
52     */
53    public long getOutQueueCounter() {
54      return outQueueCounter;
55    }
56  
57    /**
58     * Sets the out queue counter.
59     *
60     * @param outQueueCounter the new out queue counter
61     */
62    public void setOutQueueCounter(long outQueueCounter) {
63      this.outQueueCounter = outQueueCounter;
64    }
65  
66    /**
67     * Gets the queue size.
68     *
69     * @return the queue size
70     */
71    public long getQueueSize() {
72      return queueSize;
73    }
74  
75    /**
76     * Sets the queue size.
77     *
78     * @param queueSize the new queue size
79     */
80    public void setQueueSize(long queueSize) {
81      this.queueSize = queueSize;
82    }
83  
84    /**
85     * Gets the queued nr of bytes.
86     *
87     * @return the queued nr of bytes
88     */
89    public long getQueuedNrOfBytes() {
90      return queuedNrOfBytes;
91    }
92  
93    /**
94     * Sets the queued nr of bytes.
95     *
96     * @param queuedNrOfBytes the new queued nr of bytes
97     */
98    public void setQueuedNrOfBytes(long queuedNrOfBytes) {
99      this.queuedNrOfBytes = queuedNrOfBytes;
100   }
101 
102 }