org.springframework.integration.endpoint
Class ConcurrencyPolicy
java.lang.Object
org.springframework.integration.endpoint.ConcurrencyPolicy
public class ConcurrencyPolicy
- extends java.lang.Object
Metadata for configuring a pool of concurrent threads.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_CORE_SIZE
public static final int DEFAULT_CORE_SIZE
- See Also:
- Constant Field Values
DEFAULT_MAX_SIZE
public static final int DEFAULT_MAX_SIZE
- See Also:
- Constant Field Values
DEFAULT_QUEUE_CAPACITY
public static final int DEFAULT_QUEUE_CAPACITY
- See Also:
- Constant Field Values
DEFAULT_KEEP_ALIVE_SECONDS
public static final int DEFAULT_KEEP_ALIVE_SECONDS
- See Also:
- Constant Field Values
coreSize
private int coreSize
maxSize
private int maxSize
queueCapacity
private int queueCapacity
keepAliveSeconds
private int keepAliveSeconds
ConcurrencyPolicy
public ConcurrencyPolicy()
ConcurrencyPolicy
public ConcurrencyPolicy(int coreSize,
int maxSize)
getCoreSize
public int getCoreSize()
setCoreSize
public void setCoreSize(int coreSize)
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int maxSize)
getQueueCapacity
public int getQueueCapacity()
setQueueCapacity
public void setQueueCapacity(int queueCapacity)
getKeepAliveSeconds
public int getKeepAliveSeconds()
setKeepAliveSeconds
public void setKeepAliveSeconds(int keepAliveSeconds)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object