net.gleamynode.netty.handler.execution
Class OrderedMemoryAwareThreadPoolExecutor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
net.gleamynode.netty.handler.execution.MemoryAwareThreadPoolExecutor
net.gleamynode.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
- All Implemented Interfaces:
- Executor, ExecutorService
public class OrderedMemoryAwareThreadPoolExecutor
- extends MemoryAwareThreadPoolExecutor
- Version:
- $Rev$, $Date$
- Author:
- The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com), David M. Lloyd (david.lloyd@redhat.com)
|
Constructor Summary |
OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize)
|
OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit)
|
OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit,
ObjectSizeEstimator objectSizeEstimator,
ThreadFactory threadFactory)
|
OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit,
ThreadFactory threadFactory)
|
| Methods inherited from class java.util.concurrent.ThreadPoolExecutor |
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated |
OrderedMemoryAwareThreadPoolExecutor
public OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit,
ObjectSizeEstimator objectSizeEstimator,
ThreadFactory threadFactory)
OrderedMemoryAwareThreadPoolExecutor
public OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit,
ThreadFactory threadFactory)
OrderedMemoryAwareThreadPoolExecutor
public OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize,
long keepAliveTime,
TimeUnit unit)
OrderedMemoryAwareThreadPoolExecutor
public OrderedMemoryAwareThreadPoolExecutor(int corePoolSize,
int maxChannelMemorySize,
int maxTotalMemorySize)
doExecute
protected void doExecute(Runnable task)
- Overrides:
doExecute in class MemoryAwareThreadPoolExecutor
Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.