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 inOrderedThreadPoolExecutorandUnorderedThreadPoolExecutor.IoEventSizeEstimator Estimates the amount of memory that the specifiedIoEventoccupies in the current JVM. -
Class Summary Class Description DefaultIoEventSizeEstimator A defaultIoEventSizeEstimatorimplementation.ExecutorFilter A filter that forwards I/O events toExecutorto enforce a certain thread model while allowing the events per session to be processed simultaneously.IoEventQueueThrottle Throttles incoming or outgoing events.OrderedThreadPoolExecutor AThreadPoolExecutorthat maintains the order ofIoEvents.PriorityThreadPoolExecutor AThreadPoolExecutorthat maintains the order ofIoEvents within a session (similar toOrderedThreadPoolExecutor) and allows some sessions to be prioritized over other sessions.PriorityThreadPoolExecutor.SessionEntry A class used to preserve first-in-first-out order of sessions that have equal priority.UnorderedThreadPoolExecutor AThreadPoolExecutorthat does not maintain the order ofIoEvents.WriteRequestFilter Attaches anIoEventQueueHandlerto anIoSession'sWriteRequestqueue to provide accurate write queue status tracking.