1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model;
12
13
14
15
16 public class SunThread {
17
18
19 private long id;
20
21
22 private String name;
23
24
25 private String state;
26
27
28 private boolean deadlocked;
29
30
31 private boolean suspended;
32
33
34 private boolean inNative;
35
36
37 private String lockName;
38
39
40 private String lockOwnerName;
41
42
43 private long waitedCount;
44
45
46 private long blockedCount;
47
48
49 private ThreadStackElement executionPoint;
50
51
52
53
54
55
56 public long getId() {
57 return id;
58 }
59
60
61
62
63
64
65 public void setId(long id) {
66 this.id = id;
67 }
68
69
70
71
72
73
74 public String getName() {
75 return name;
76 }
77
78
79
80
81
82
83 public void setName(String name) {
84 this.name = name;
85 }
86
87
88
89
90
91
92 public String getState() {
93 return state;
94 }
95
96
97
98
99
100
101 public void setState(String state) {
102 this.state = state;
103 }
104
105
106
107
108
109
110 public boolean isDeadlocked() {
111 return deadlocked;
112 }
113
114
115
116
117
118
119 public void setDeadlocked(boolean deadlocked) {
120 this.deadlocked = deadlocked;
121 }
122
123
124
125
126
127
128 public boolean isSuspended() {
129 return suspended;
130 }
131
132
133
134
135
136
137 public void setSuspended(boolean suspended) {
138 this.suspended = suspended;
139 }
140
141
142
143
144
145
146 public boolean isInNative() {
147 return inNative;
148 }
149
150
151
152
153
154
155 public void setInNative(boolean inNative) {
156 this.inNative = inNative;
157 }
158
159
160
161
162
163
164 public String getLockName() {
165 return lockName;
166 }
167
168
169
170
171
172
173 public void setLockName(String lockName) {
174 this.lockName = lockName;
175 }
176
177
178
179
180
181
182 public String getLockOwnerName() {
183 return lockOwnerName;
184 }
185
186
187
188
189
190
191 public void setLockOwnerName(String lockOwnerName) {
192 this.lockOwnerName = lockOwnerName;
193 }
194
195
196
197
198
199
200 public long getWaitedCount() {
201 return waitedCount;
202 }
203
204
205
206
207
208
209 public void setWaitedCount(long waitedCount) {
210 this.waitedCount = waitedCount;
211 }
212
213
214
215
216
217
218 public long getBlockedCount() {
219 return blockedCount;
220 }
221
222
223
224
225
226
227 public void setBlockedCount(long blockedCount) {
228 this.blockedCount = blockedCount;
229 }
230
231
232
233
234
235
236 public ThreadStackElement getExecutionPoint() {
237 return executionPoint;
238 }
239
240
241
242
243
244
245 public void setExecutionPoint(ThreadStackElement executionPoint) {
246 this.executionPoint = executionPoint;
247 }
248
249 }