public class LoadBalancingInterceptor extends AbstractInterceptor
Interceptor.FlowELEMENT_NAME, id, namerouter| Constructor and Description |
|---|
LoadBalancingInterceptor() |
getDisplayName, getElementName, getFlow, getId, getLongDescription, setDisplayName, setFlow, setId, writegetRouter, setRouterdoAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, 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 void setName(String name) throws Exception
AbstractInterceptor.setDisplayName(String), but the balancer's name
set in the proxy configuration to identify this balancer.Exceptionpublic String getName()
AbstractInterceptor.getDisplayName(), but the balancer's name set in
the proxy configuration to identify this balancer.public DispatchingStrategy getDispatchingStrategy()
public void setDispatchingStrategy(DispatchingStrategy strategy)
public AbstractSessionIdExtractor getSessionIdExtractor()
public void setSessionIdExtractor(AbstractSessionIdExtractor sessionIdExtractor)
public boolean isFailOver()
public void setFailOver(boolean failOver)
public Balancer getClusterManager()
public long getSessionTimeout()
public void setSessionTimeout(long sessionTimeout)
protected void writeInterceptor(XMLStreamWriter out) throws XMLStreamException
writeInterceptor in class AbstractInterceptorXMLStreamExceptionprotected void parseAttributes(XMLStreamReader token) throws Exception
parseAttributes in class AbstractInterceptorExceptionprotected void parseChildren(XMLStreamReader token, String child) throws Exception
parseChildren in class AbstractXmlElementExceptionpublic String getHelpId()
getHelpId in interface InterceptorgetHelpId in class AbstractInterceptorpublic String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorCopyright © 2012. All Rights Reserved.