Uses of Class
org.apache.mina.core.session.IoEventType
-
Packages that use IoEventType Package Description org.apache.mina.core.filterchain org.apache.mina.core.session org.apache.mina.filter.executor IoFilters that provide flexible thread model and event queue monitoring interface.org.apache.mina.filter.statistic Classes that implement IoFilter and provide the ability for filters to be timed on their performance. -
-
Uses of IoEventType in org.apache.mina.core.filterchain
Constructors in org.apache.mina.core.filterchain with parameters of type IoEventType Constructor Description IoFilterEvent(IoFilter.NextFilter nextFilter, IoEventType type, IoSession session, Object parameter)
Creates a new IoFilterEvent instance -
Uses of IoEventType in org.apache.mina.core.session
Methods in org.apache.mina.core.session that return IoEventType Modifier and Type Method Description IoEventType
IoEvent. getType()
static IoEventType
IoEventType. valueOf(String name)
Returns the enum constant of this type with the specified name.static IoEventType[]
IoEventType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.apache.mina.core.session with parameters of type IoEventType Constructor Description IoEvent(IoEventType type, IoSession session, Object parameter)
Creates a new IoEvent -
Uses of IoEventType in org.apache.mina.filter.executor
Constructors in org.apache.mina.filter.executor with parameters of type IoEventType Constructor Description ExecutorFilter(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory, IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
.ExecutorFilter(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory, IoEventQueueHandler queueHandler, IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
.ExecutorFilter(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
.ExecutorFilter(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, IoEventQueueHandler queueHandler, IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
.ExecutorFilter(int corePoolSize, int maximumPoolSize, IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
.ExecutorFilter(int maximumPoolSize, IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
.ExecutorFilter(Executor executor, IoEventType... eventTypes)
Creates a new instance with the specifiedExecutor
.ExecutorFilter(IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a newOrderedThreadPoolExecutor
. -
Uses of IoEventType in org.apache.mina.filter.statistic
Methods in org.apache.mina.filter.statistic that return types with arguments of type IoEventType Modifier and Type Method Description Set<IoEventType>
ProfilerTimerFilter. getEventsToProfile()
Return the set ofIoEventType
which are profiled.Methods in org.apache.mina.filter.statistic with parameters of type IoEventType Modifier and Type Method Description double
ProfilerTimerFilter. getAverageTime(IoEventType type)
Get the average time for the specified method represented by theIoEventType
long
ProfilerTimerFilter. getMaximumTime(IoEventType type)
The maximum time the method represented byIoEventType
has executedlong
ProfilerTimerFilter. getMinimumTime(IoEventType type)
The minimum time the method represented byIoEventType
has executedlong
ProfilerTimerFilter. getTotalCalls(IoEventType type)
Gets the total number of times the method has been called that is represented by theIoEventType
long
ProfilerTimerFilter. getTotalTime(IoEventType type)
The total time this method has been executingvoid
ProfilerTimerFilter. profile(IoEventType type)
Set theIoEventType
to be profiledvoid
ProfilerTimerFilter. setEventsToProfile(IoEventType... eventTypes)
Set the profilers for a list ofIoEventType
void
ProfilerTimerFilter. stopProfile(IoEventType type)
Stop profiling anIoEventType
Constructors in org.apache.mina.filter.statistic with parameters of type IoEventType Constructor Description ProfilerTimerFilter(TimeUnit timeUnit, IoEventType... eventTypes)
Creates a new instance of ProfilerFilter.
-