| java.lang.Object org.apache.mina.filter.codec.SynchronizedProtocolDecoder
SynchronizedProtocolDecoder | public class SynchronizedProtocolDecoder implements ProtocolDecoder(Code) | | A
ProtocolDecoder implementation which decorates an existing decoder
to be thread-safe. Please be careful if you're going to use this decorator
because it can be a root of performance degradation in a multi-thread
environment. Also, by default, appropriate synchronization is done
on a per-session basis by
ProtocolCodecFilter . Please use this
decorator only when you need to synchronize on a per-decoder basis, which
is not common.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 581234 $, $Date: 2007-10-02 07:39:48 -0600 (Tue, 02 Oct 2007) $ |
SynchronizedProtocolDecoder | public SynchronizedProtocolDecoder(ProtocolDecoder decoder)(Code) | | Creates a new instance which decorates the specified decoder.
|
|
|