| 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.property.ConfigContext; |
| 21 | |
import org.kuali.rice.ksb.messaging.threadpool.KSBThreadPool; |
| 22 | |
import org.kuali.rice.ksb.util.KSBConstants; |
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | 0 | public class ThreadPoolForm extends ActionForm { |
| 32 | |
|
| 33 | |
private static final long serialVersionUID = 6670668383823543732L; |
| 34 | |
|
| 35 | |
private String methodToCall; |
| 36 | |
private KSBThreadPool threadPool; |
| 37 | |
private Integer corePoolSize; |
| 38 | |
private Integer maximumPoolSize; |
| 39 | |
|
| 40 | |
private boolean allServers; |
| 41 | |
private Long timeIncrement; |
| 42 | |
private Long maxRetryAttempts; |
| 43 | |
|
| 44 | |
public String getMethodToCall() { |
| 45 | 0 | return this.methodToCall; |
| 46 | |
} |
| 47 | |
public void setMethodToCall(String methodToCall) { |
| 48 | 0 | this.methodToCall = methodToCall; |
| 49 | 0 | } |
| 50 | |
public Integer getCorePoolSize() { |
| 51 | 0 | return this.corePoolSize; |
| 52 | |
} |
| 53 | |
public void setCorePoolSize(Integer corePoolSize) { |
| 54 | 0 | this.corePoolSize = corePoolSize; |
| 55 | 0 | } |
| 56 | |
public Integer getMaximumPoolSize() { |
| 57 | 0 | return this.maximumPoolSize; |
| 58 | |
} |
| 59 | |
public void setMaximumPoolSize(Integer maximumPoolSize) { |
| 60 | 0 | this.maximumPoolSize = maximumPoolSize; |
| 61 | 0 | } |
| 62 | |
public KSBThreadPool getThreadPool() { |
| 63 | 0 | return this.threadPool; |
| 64 | |
} |
| 65 | |
public void setThreadPool(KSBThreadPool threadPool) { |
| 66 | 0 | this.threadPool = threadPool; |
| 67 | 0 | } |
| 68 | |
public boolean isAllServers() { |
| 69 | 0 | return this.allServers; |
| 70 | |
} |
| 71 | |
public void setAllServers(boolean allServers) { |
| 72 | 0 | this.allServers = allServers; |
| 73 | 0 | } |
| 74 | |
public String getServiceNamespace() { |
| 75 | 0 | return ConfigContext.getCurrentContextConfig().getProperty(KSBConstants.Config.SERVICE_NAMESPACE); |
| 76 | |
} |
| 77 | |
public Long getMaxRetryAttempts() { |
| 78 | 0 | return this.maxRetryAttempts; |
| 79 | |
} |
| 80 | |
public void setMaxRetryAttempts(Long maxRetryAttempts) { |
| 81 | 0 | this.maxRetryAttempts = maxRetryAttempts; |
| 82 | 0 | } |
| 83 | |
public Long getTimeIncrement() { |
| 84 | 0 | return this.timeIncrement; |
| 85 | |
} |
| 86 | |
public void setTimeIncrement(Long timeIncrement) { |
| 87 | 0 | this.timeIncrement = timeIncrement; |
| 88 | 0 | } |
| 89 | |
|
| 90 | |
} |