| 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.
|
| Constructor | Description |
|---|---|
IoFilterEvent(IoFilter.NextFilter nextFilter,
IoEventType type,
IoSession session,
Object parameter) |
| 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.
|
| Constructor | Description |
|---|---|
IoEvent(IoEventType type,
IoSession session,
Object parameter) |
| Constructor | Description |
|---|---|
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
ThreadFactory threadFactory,
IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
ThreadFactory threadFactory,
IoEventQueueHandler queueHandler,
IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
IoEventQueueHandler queueHandler,
IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
ExecutorFilter(int maximumPoolSize,
IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
ExecutorFilter(Executor executor,
IoEventType... eventTypes) |
Creates a new instance with the specified
Executor. |
ExecutorFilter(IoEventType... eventTypes) |
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor. |
| Modifier and Type | Method | Description |
|---|---|---|
Set<IoEventType> |
ProfilerTimerFilter.getEventsToProfile() |
Return the set of
IoEventType which are profiled. |
| Modifier and Type | Method | Description |
|---|---|---|
double |
ProfilerTimerFilter.getAverageTime(IoEventType type) |
Get the average time for the specified method represented by the
IoEventType |
long |
ProfilerTimerFilter.getMaximumTime(IoEventType type) |
The maximum time the method represented by
IoEventType has executed |
long |
ProfilerTimerFilter.getMinimumTime(IoEventType type) |
The minimum time the method represented by
IoEventType has executed |
long |
ProfilerTimerFilter.getTotalCalls(IoEventType type) |
Gets the total number of times the method has been called that is represented by the
IoEventType |
long |
ProfilerTimerFilter.getTotalTime(IoEventType type) |
The total time this method has been executing
|
void |
ProfilerTimerFilter.profile(IoEventType type) |
Set the
IoEventType to be profiled |
void |
ProfilerTimerFilter.setEventsToProfile(IoEventType... eventTypes) |
Set the profilers for a list of
IoEventType |
void |
ProfilerTimerFilter.stopProfile(IoEventType type) |
Stop profiling an
IoEventType |
| Constructor | Description |
|---|---|
ProfilerTimerFilter(TimeUnit timeUnit,
IoEventType... eventTypes) |
Creates a new instance of ProfilerFilter.
|
Copyright © 2004–2018 Apache MINA Project. All rights reserved.