Package org.apache.mina.filter.executor
IoFilters that provide flexible thread model and event queue monitoring interface.
- Author:
- Apache MINA Project
-
Interface Summary Interface Description IoEventQueueHandler Listens and filters all event queue operations occurring inOrderedThreadPoolExecutor
andUnorderedThreadPoolExecutor
.IoEventSizeEstimator Estimates the amount of memory that the specifiedIoEvent
occupies in the current JVM. -
Class Summary Class Description DefaultIoEventSizeEstimator A defaultIoEventSizeEstimator
implementation.ExecutorFilter A filter that forwards I/O events toExecutor
to enforce a certain thread model while allowing the events per session to be processed simultaneously.IoEventQueueThrottle Throttles incoming or outgoing events.OrderedThreadPoolExecutor AThreadPoolExecutor
that maintains the order ofIoEvent
s.PriorityThreadPoolExecutor AThreadPoolExecutor
that maintains the order ofIoEvent
s within a session (similar toOrderedThreadPoolExecutor
) and allows some sessions to be prioritized over other sessions.UnorderedThreadPoolExecutor AThreadPoolExecutor
that does not maintain the order ofIoEvent
s.WriteRequestFilter Attaches anIoEventQueueHandler
to anIoSession
'sWriteRequest
queue to provide accurate write queue status tracking.