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 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 return this.methodToCall;
44 }
45 public void setMethodToCall(String methodToCall) {
46 this.methodToCall = methodToCall;
47 }
48 public Integer getCorePoolSize() {
49 return this.corePoolSize;
50 }
51 public void setCorePoolSize(Integer corePoolSize) {
52 this.corePoolSize = corePoolSize;
53 }
54 public Integer getMaximumPoolSize() {
55 return this.maximumPoolSize;
56 }
57 public void setMaximumPoolSize(Integer maximumPoolSize) {
58 this.maximumPoolSize = maximumPoolSize;
59 }
60 public KSBThreadPool getThreadPool() {
61 return this.threadPool;
62 }
63 public void setThreadPool(KSBThreadPool threadPool) {
64 this.threadPool = threadPool;
65 }
66 public boolean isAllServers() {
67 return this.allServers;
68 }
69 public void setAllServers(boolean allServers) {
70 this.allServers = allServers;
71 }
72 public String getApplicationId() {
73 return CoreConfigHelper.getApplicationId();
74 }
75 public Long getMaxRetryAttempts() {
76 return this.maxRetryAttempts;
77 }
78 public void setMaxRetryAttempts(Long maxRetryAttempts) {
79 this.maxRetryAttempts = maxRetryAttempts;
80 }
81 public Long getTimeIncrement() {
82 return this.timeIncrement;
83 }
84 public void setTimeIncrement(Long timeIncrement) {
85 this.timeIncrement = timeIncrement;
86 }
87
88 }