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