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