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.logging |
Classes that implement IoFilter and provide logging of the events and data that flows through a MINA-based system.
|
org.apache.mina.filter.statistic |
Classes that implement IoFilter and provide the ability for filters to be timed on their performance.
|
Constructor and Description |
---|
IoFilterEvent(IoFilter.NextFilter nextFilter,
IoEventType type,
IoSession session,
java.lang.Object parameter) |
Modifier and Type | Method and Description |
---|---|
IoEventType |
IoEvent.getType() |
static IoEventType |
IoEventType.valueOf(java.lang.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 and Description |
---|
IoEvent(IoEventType type,
IoSession session,
java.lang.Object parameter) |
Constructor and Description |
---|
ExecutorFilter(java.util.concurrent.Executor executor,
IoEventType... eventTypes)
Creates a new instance with the specified
Executor . |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor . |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
java.util.concurrent.TimeUnit unit,
IoEventQueueHandler queueHandler,
IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor . |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
java.util.concurrent.TimeUnit unit,
IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor . |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
java.util.concurrent.TimeUnit unit,
java.util.concurrent.ThreadFactory threadFactory,
IoEventQueueHandler queueHandler,
IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor . |
ExecutorFilter(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
java.util.concurrent.TimeUnit unit,
java.util.concurrent.ThreadFactory threadFactory,
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(IoEventType... eventTypes)
(Convenience constructor) Creates a new instance with a new
OrderedThreadPoolExecutor . |
Modifier and Type | Method and Description |
---|---|
LogLevel |
LoggingFilter.getLogLevel(IoEventType eventType)
Returns the log level for the supplied event type.
|
protected void |
LoggingFilter.log(IoEventType eventType,
java.lang.String format,
java.lang.Object arg)
Logs the specified event.
|
void |
LoggingFilter.setLogLevel(IoEventType eventType,
LogLevel logLevel)
This method sets the log level for the supplied
LogLevel
event. |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IoEventType> |
ProfilerTimerFilter.getEventsToProfile()
Return the bitmask that is being used to display
timing information for this filter.
|
Modifier and Type | Method and Description |
---|---|
void |
ProfilerTimerFilter.addEventToProfile(IoEventType type)
Add an
IoEventType to profile |
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.removeEventToProfile(IoEventType type)
Remove an
IoEventType to profile |
void |
ProfilerTimerFilter.setEventsToProfile(IoEventType firstEventType,
IoEventType... otherEventTypes)
Set the bitmask in order to tell this filter which
methods to print out timing information
|
void |
ProfilerTimerFilter.setEventsToProfile(IoEventType firstEventType,
IoEventType... otherEventTypes)
Set the bitmask in order to tell this filter which
methods to print out timing information
|
Modifier and Type | Method and Description |
---|---|
void |
ProfilerTimerFilter.setEventsToProfile(java.util.Set<IoEventType> eventTypes)
Set the bitmask in order to tell this filter which
methods to print out timing information
|
Constructor and Description |
---|
ProfilerTimerFilter(java.util.concurrent.TimeUnit unit,
IoEventType firstEventType,
IoEventType... otherEventTypes)
Creates a new instance of ProfilerFilter.
|
ProfilerTimerFilter(java.util.concurrent.TimeUnit unit,
IoEventType firstEventType,
IoEventType... otherEventTypes)
Creates a new instance of ProfilerFilter.
|
Constructor and Description |
---|
ProfilerTimerFilter(java.util.concurrent.TimeUnit unit,
java.util.EnumSet<IoEventType> eventTypes)
Creates a new instance of ProfilerFilter.
|
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.