1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.ksb.messaging.web; |
17 | |
|
18 | |
import org.apache.struts.action.ActionForm; |
19 | |
import org.kuali.rice.core.api.config.CoreConfigHelper; |
20 | |
import org.kuali.rice.ksb.messaging.threadpool.KSBThreadPool; |
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | 0 | public class ThreadPoolForm extends ActionForm { |
30 | |
|
31 | |
private static final long serialVersionUID = 6670668383823543732L; |
32 | |
|
33 | |
private String methodToCall; |
34 | |
private KSBThreadPool threadPool; |
35 | |
private Integer corePoolSize; |
36 | |
private Integer maximumPoolSize; |
37 | |
|
38 | |
private boolean allServers; |
39 | |
private Long timeIncrement; |
40 | |
private Long maxRetryAttempts; |
41 | |
|
42 | |
public String getMethodToCall() { |
43 | 0 | return this.methodToCall; |
44 | |
} |
45 | |
public void setMethodToCall(String methodToCall) { |
46 | 0 | this.methodToCall = methodToCall; |
47 | 0 | } |
48 | |
public Integer getCorePoolSize() { |
49 | 0 | return this.corePoolSize; |
50 | |
} |
51 | |
public void setCorePoolSize(Integer corePoolSize) { |
52 | 0 | this.corePoolSize = corePoolSize; |
53 | 0 | } |
54 | |
public Integer getMaximumPoolSize() { |
55 | 0 | return this.maximumPoolSize; |
56 | |
} |
57 | |
public void setMaximumPoolSize(Integer maximumPoolSize) { |
58 | 0 | this.maximumPoolSize = maximumPoolSize; |
59 | 0 | } |
60 | |
public KSBThreadPool getThreadPool() { |
61 | 0 | return this.threadPool; |
62 | |
} |
63 | |
public void setThreadPool(KSBThreadPool threadPool) { |
64 | 0 | this.threadPool = threadPool; |
65 | 0 | } |
66 | |
public boolean isAllServers() { |
67 | 0 | return this.allServers; |
68 | |
} |
69 | |
public void setAllServers(boolean allServers) { |
70 | 0 | this.allServers = allServers; |
71 | 0 | } |
72 | |
public String getApplicationId() { |
73 | 0 | return CoreConfigHelper.getApplicationId(); |
74 | |
} |
75 | |
public Long getMaxRetryAttempts() { |
76 | 0 | return this.maxRetryAttempts; |
77 | |
} |
78 | |
public void setMaxRetryAttempts(Long maxRetryAttempts) { |
79 | 0 | this.maxRetryAttempts = maxRetryAttempts; |
80 | 0 | } |
81 | |
public Long getTimeIncrement() { |
82 | 0 | return this.timeIncrement; |
83 | |
} |
84 | |
public void setTimeIncrement(Long timeIncrement) { |
85 | 0 | this.timeIncrement = timeIncrement; |
86 | 0 | } |
87 | |
|
88 | |
} |