public interface ThreadPooledEventDispatcherMBean extends ThreadPooledEventDispatcher, EventDispatcherMBean
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getThreadNamePrefix()
Returns the prefix of dispatcher thread name.
|
int |
getThreadPoolSize()
Returns the number of dispatcher threads.
|
int |
getThreadPriority()
Returns the priority of dispatcher threads.
|
boolean |
isStarted()
Returns
true if this event dispatcher is started. |
void |
setThreadNamePrefix(java.lang.String threadNamePrefix)
Sets the prefix of dispatcher thread name.
|
void |
setThreadPoolSize(int newSize)
Sets the number of dispatcher threads.
|
void |
setThreadPriority(int newPriority)
Sets the priority of dispatcher threads.
|
void |
start()
Starts this event dispatcher.
|
void |
stop()
Stops this event dispatcher.
|
fire, flush, getWaitingEventSizegetWaitingEventSizevoid start()
ThreadPooledEventDispatcherstart in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.start()void stop()
ThreadPooledEventDispatcherstop in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.stop()boolean isStarted()
ThreadPooledEventDispatchertrue if this event dispatcher is started.isStarted in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.isStarted()int getThreadPoolSize()
ThreadPooledEventDispatchergetThreadPoolSize in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.getThreadPoolSize()void setThreadPoolSize(int newSize)
ThreadPooledEventDispatchersetThreadPoolSize in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.setThreadPoolSize(int)int getThreadPriority()
ThreadPooledEventDispatchergetThreadPriority in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.getThreadPriority()void setThreadPriority(int newPriority)
ThreadPooledEventDispatchersetThreadPriority in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.setThreadPriority(int)java.lang.String getThreadNamePrefix()
ThreadPooledEventDispatchergetThreadNamePrefix in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.getThreadNamePrefix()void setThreadNamePrefix(java.lang.String threadNamePrefix)
ThreadPooledEventDispatcherthreadNamePrefix + '-' + threadId.setThreadNamePrefix in interface ThreadPooledEventDispatcherThreadPooledEventDispatcher.setThreadNamePrefix(String)Copyright © 2004-2012 Trustin Lee. All Rights Reserved.