Last change
on this file since 101 was
100,
checked in by stoda, 11 years ago
|
Idea of thread supervisor done
TODO test the idea, change the remote properties, etc
|
File size:
1.0 KB
|
Line | |
---|
1 | package omq.common.broker; |
---|
2 | |
---|
3 | import java.io.Serializable; |
---|
4 | |
---|
5 | public class HasObject implements Serializable { |
---|
6 | /** |
---|
7 | * |
---|
8 | */ |
---|
9 | private static final long serialVersionUID = 1L; |
---|
10 | |
---|
11 | private String brokerName; |
---|
12 | private String reference; |
---|
13 | private boolean hasObject; |
---|
14 | private int numThreads; |
---|
15 | |
---|
16 | public HasObject(String brokerName, String reference, boolean hasObject, int numThreads) { |
---|
17 | this.brokerName = brokerName; |
---|
18 | this.reference = reference; |
---|
19 | this.hasObject = hasObject; |
---|
20 | this.numThreads = numThreads; |
---|
21 | } |
---|
22 | |
---|
23 | public String getBrokerName() { |
---|
24 | return brokerName; |
---|
25 | } |
---|
26 | |
---|
27 | public void setBrokerName(String brokerName) { |
---|
28 | this.brokerName = brokerName; |
---|
29 | } |
---|
30 | |
---|
31 | public String getReference() { |
---|
32 | return reference; |
---|
33 | } |
---|
34 | |
---|
35 | public void setReference(String reference) { |
---|
36 | this.reference = reference; |
---|
37 | } |
---|
38 | |
---|
39 | public boolean isHasObject() { |
---|
40 | return hasObject; |
---|
41 | } |
---|
42 | |
---|
43 | public void setHasObject(boolean hasObject) { |
---|
44 | this.hasObject = hasObject; |
---|
45 | } |
---|
46 | |
---|
47 | public int getNumThreads() { |
---|
48 | return numThreads; |
---|
49 | } |
---|
50 | |
---|
51 | public void setNumThreads(int numThreads) { |
---|
52 | this.numThreads = numThreads; |
---|
53 | } |
---|
54 | |
---|
55 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.