org.mule.impl.model.seda
Class SedaModel
java.lang.Object
org.mule.impl.model.AbstractModel
org.mule.impl.model.seda.SedaModel
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOModel
- Direct Known Subclasses:
- OptimisedSedaModel
- public class SedaModel
- extends AbstractModel
A mule component service model that uses Seda principals to achieve high
throughput by Quing events for compoonents and processing them concurrently.
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
|
Field Summary |
protected boolean |
componentPerRequest
Whether to create a new component for every request |
| Methods inherited from class org.mule.impl.model.AbstractModel |
dispose, getComponent, getComponentNames, getComponentSession, getDescriptor, getEntryPointResolver, getExceptionListener, getLifecycleAdapterFactory, getName, initialise, isComponentRegistered, pauseComponent, registerComponent, resumeComponent, setComponents, setEntryPointResolver, setExceptionListener, setLifecycleAdapterFactory, setName, start, startComponent, stop, stopComponent, unregisterComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
componentPerRequest
protected boolean componentPerRequest
- Whether to create a new component for every request
SedaModel
public SedaModel()
getType
public String getType()
- Returns the model type name. This is a friendly identifier that is used to
look up the SPI class for the model
- Returns:
- the model type
createComponent
protected UMOComponent createComponent(UMODescriptor descriptor)
- Specified by:
createComponent in class AbstractModel
getQueueTimeout
public int getQueueTimeout()
setQueueTimeout
public void setQueueTimeout(int queueTimeout)
isEnablePooling
public boolean isEnablePooling()
setEnablePooling
public void setEnablePooling(boolean enablePooling)
isComponentPerRequest
public boolean isComponentPerRequest()
setComponentPerRequest
public void setComponentPerRequest(boolean componentPerRequest)
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.