| java.lang.Object org.apache.catalina.tribes.group.ChannelInterceptorBase org.apache.catalina.tribes.group.interceptors.FragmentationInterceptor
FragmentationInterceptor | public class FragmentationInterceptor extends ChannelInterceptorBase (Code) | | The fragmentation interceptor splits up large messages into smaller messages and assembles them on the other end.
This is very useful when you don't want large messages hogging the sending sockets
and smaller messages can make it through.
Configuration Options
OrderInteceptor.expire= - how long do we keep the fragments in memory and wait for the rest to arrivedefault=60,000ms -> 60seconds
This setting is useful to avoid OutOfMemoryErrors
OrderInteceptor.maxSize= - message size in bytes default=1024*100 (around a tenth of a MB)
author: Filip Hanik version: 1.0 |
Inner Class :public static class FragCollection | |
Inner Class :public static class FragKey | |
deepclone | protected boolean deepclone(Code) | | |
getExpire | public long getExpire()(Code) | | |
getMaxSize | public int getMaxSize()(Code) | | |
heartbeat | public void heartbeat()(Code) | | |
removeFragCollection | public void removeFragCollection(FragKey key)(Code) | | |
setExpire | public void setExpire(long expire)(Code) | | |
setMaxSize | public void setMaxSize(int maxSize)(Code) | | |
|
|