org.apache.mina.common

Interface ThreadModel

All Superinterfaces:
IoFilterChainBuilder
Known Implementing Classes:
ExecutorThreadModel

public interface ThreadModel
extends IoFilterChainBuilder

Represents a thread model of an IoService. There's no essential difference from IoFilterChainBuilder. The only difference is that ThreadModel is executed later than the IoFilterChainBuilder you specified. However, please don't abuse this internal behavior; it can change.

Field Summary

static ThreadModel
MANUAL
A ThreadModel which make MINA not manage a thread model at all.

Fields inherited from interface org.apache.mina.common.IoFilterChainBuilder

NOOP

Methods inherited from interface org.apache.mina.common.IoFilterChainBuilder

buildFilterChain

Field Details

MANUAL

public static final ThreadModel MANUAL
A ThreadModel which make MINA not manage a thread model at all.