Package org.apache.mina.filter.executor
package org.apache.mina.filter.executor
IoFilters that provide flexible thread model and event queue monitoring interface.
-
ClassDescriptionA default
IoEventSizeEstimatorimplementation.A filter that forwards I/O events toExecutorto enforce a certain thread model while allowing the events per session to be processed simultaneously.Listens and filters all event queue operations occurring inOrderedThreadPoolExecutorandUnorderedThreadPoolExecutor.Throttles incoming or outgoing events.Estimates the amount of memory that the specifiedIoEventoccupies in the current JVM.AThreadPoolExecutorthat maintains the order ofIoEvents.AThreadPoolExecutorthat maintains the order ofIoEvents within a session (similar toOrderedThreadPoolExecutor) and allows some sessions to be prioritized over other sessions.A class used to preserve first-in-first-out order of sessions that have equal priority.AThreadPoolExecutorthat does not maintain the order ofIoEvents.Attaches anIoEventQueueHandlerto anIoSession'sWriteRequestqueue to provide accurate write queue status tracking.