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 principles to achieve high
throughput by queueing events for components and processing them concurrently.
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.
poolingProfile
protected PoolingProfile poolingProfile
- the pooling configuration used when initialising the component described by
this descriptor.
queueProfile
protected QueueProfile queueProfile
- The queuing profile for events received for this component
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)
getPoolingProfile
public PoolingProfile getPoolingProfile()
setPoolingProfile
public void setPoolingProfile(PoolingProfile poolingProfile)
getQueueProfile
public QueueProfile getQueueProfile()
setQueueProfile
public void setQueueProfile(QueueProfile queueProfile)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.