Package | Description |
---|---|
org.jboss.netty.handler.execution |
Executor -based implementation of various
thread models that separate business logic from I/O threads |
org.jboss.netty.util |
Utility classes used across multiple packages.
|
Modifier and Type | Method and Description |
---|---|
ObjectSizeEstimator |
MemoryAwareThreadPoolExecutor.getObjectSizeEstimator()
Returns the
ObjectSizeEstimator of this pool. |
Modifier and Type | Method and Description |
---|---|
void |
MemoryAwareThreadPoolExecutor.setObjectSizeEstimator(ObjectSizeEstimator objectSizeEstimator)
Sets the
ObjectSizeEstimator of this pool. |
Constructor and Description |
---|
MemoryAwareThreadPoolExecutor(int corePoolSize,
long maxChannelMemorySize,
long maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit,
ObjectSizeEstimator objectSizeEstimator,
ThreadFactory threadFactory)
Creates a new instance.
|
OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
long maxChannelMemorySize,
long maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit,
ObjectSizeEstimator objectSizeEstimator,
ThreadFactory threadFactory)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultObjectSizeEstimator
The default
ObjectSizeEstimator implementation for general purpose. |
Copyright © 2008-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.