public abstract class AbstractThreadingProfileProcessingStrategy extends Object implements ProcessingStrategy
ProcessingStrategy
implementation that provides a
ThreadingProfile
for you in extensions configured via setters for each of the threading
profile attributes.ProcessingStrategy.StageNameSource
Modifier and Type | Field and Description |
---|---|
protected Integer |
maxBufferSize |
protected Integer |
maxThreads |
protected Integer |
minThreads |
protected Integer |
poolExhaustedAction |
protected Long |
threadTTL |
protected Long |
threadWaitTimeout |
Constructor and Description |
---|
AbstractThreadingProfileProcessingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected ThreadingProfile |
createThreadingProfile(MuleContext muleContext) |
Integer |
getMaxBufferSize() |
Integer |
getMaxThreads() |
Integer |
getMinThreads() |
Integer |
getPoolExhaustedAction() |
protected String |
getThreadPoolName(String stageName,
MuleContext muleContext) |
Long |
getThreadTTL() |
Long |
getThreadWaitTimeout() |
void |
setMaxBufferSize(Integer maxBufferSize) |
void |
setMaxThreads(Integer maxThreads) |
void |
setMinThreads(Integer minThreads) |
void |
setPoolExhaustedAction(Integer poolExhaustedAction) |
void |
setThreadTTL(Long threadTTL) |
void |
setThreadWaitTimeout(Long threadWaitTimeout) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureProcessors
protected Integer maxThreads
protected Integer minThreads
protected Integer maxBufferSize
protected Long threadTTL
protected Long threadWaitTimeout
protected Integer poolExhaustedAction
public AbstractThreadingProfileProcessingStrategy()
protected ThreadingProfile createThreadingProfile(MuleContext muleContext)
protected String getThreadPoolName(String stageName, MuleContext muleContext)
public Integer getMaxThreads()
public void setMaxThreads(Integer maxThreads)
public Integer getMinThreads()
public void setMinThreads(Integer minThreads)
public void setMaxBufferSize(Integer maxBufferSize)
public void setThreadTTL(Long threadTTL)
public void setThreadWaitTimeout(Long threadWaitTimeout)
public void setPoolExhaustedAction(Integer poolExhaustedAction)
public Integer getMaxBufferSize()
public Long getThreadTTL()
public Long getThreadWaitTimeout()
public Integer getPoolExhaustedAction()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.