public class ThrottleInterceptor extends AbstractInterceptor
Interceptor.FlowELEMENT_NAME, id, namerouter| Constructor and Description |
|---|
ThrottleInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBusyDelay() |
long |
getDelay() |
String |
getHelpId() |
String |
getLongDescription() |
int |
getMaxThreads() |
String |
getShortDescription() |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
protected void |
parseAttributes(XMLStreamReader token) |
void |
setBusyDelay(int busyDelay) |
void |
setDelay(long delay) |
void |
setMaxThreads(int maxThreads) |
protected void |
writeInterceptor(XMLStreamWriter out) |
getDisplayName, getElementName, getFlow, getId, setDisplayName, setFlow, setId, writegetRouter, setRouterdoAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouter, setRouterparsepublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionpublic long getDelay()
public void setDelay(long delay)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public int getBusyDelay()
public void setBusyDelay(int busyDelay)
protected void writeInterceptor(XMLStreamWriter out) throws XMLStreamException
writeInterceptor in class AbstractInterceptorXMLStreamExceptionprotected void parseAttributes(XMLStreamReader token)
parseAttributes in class AbstractInterceptorpublic String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorpublic String getHelpId()
getHelpId in interface InterceptorgetHelpId in class AbstractInterceptorCopyright © 2012. All Rights Reserved.