Package | Description |
---|---|
org.jboss.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
Modifier and Type | Method and Description |
---|---|
static ClassResolver |
ClassResolvers.cacheDisabled(ClassLoader classLoader)
cache disabled
|
static ClassResolver |
ClassResolvers.softCachingConcurrentResolver(ClassLoader classLoader)
agressive concurrent cache
good for shared cache, when we're not worried about class unloading
|
static ClassResolver |
ClassResolvers.softCachingResolver(ClassLoader classLoader)
agressive non-concurrent cache
good for non-shared cache, when we're not worried about class unloading
|
static ClassResolver |
ClassResolvers.weakCachingConcurrentResolver(ClassLoader classLoader)
non-agressive concurrent cache
good for shared cache, when we're worried about class unloading
|
static ClassResolver |
ClassResolvers.weakCachingResolver(ClassLoader classLoader)
non-agressive non-concurrent cache
good for non-shared default cache
|
Constructor and Description |
---|
ObjectDecoder(ClassResolver classResolver)
Creates a new decoder whose maximum object size is
1048576
bytes. |
ObjectDecoder(int maxObjectSize,
ClassResolver classResolver)
Creates a new decoder with the specified maximum object size.
|
Copyright © 2008-2014 The Netty Project. All Rights Reserved.