|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadPooledEventDispatcherMBean
JMX (Java Management eXtenstions) support interface for thread-pooled event dispatchers.
Method Summary | |
---|---|
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(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. |
Methods inherited from interface net.gleamynode.netty2.EventDispatcher |
---|
fire, flush, getWaitingEventSize |
Methods inherited from interface net.gleamynode.netty2.EventDispatcherMBean |
---|
getWaitingEventSize |
Method Detail |
---|
void start()
ThreadPooledEventDispatcher
start
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.start()
void stop()
ThreadPooledEventDispatcher
stop
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.stop()
boolean isStarted()
ThreadPooledEventDispatcher
true
if this event dispatcher is started.
isStarted
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.isStarted()
int getThreadPoolSize()
ThreadPooledEventDispatcher
getThreadPoolSize
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.getThreadPoolSize()
void setThreadPoolSize(int newSize)
ThreadPooledEventDispatcher
setThreadPoolSize
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.setThreadPoolSize(int)
int getThreadPriority()
ThreadPooledEventDispatcher
getThreadPriority
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.getThreadPriority()
void setThreadPriority(int newPriority)
ThreadPooledEventDispatcher
setThreadPriority
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.setThreadPriority(int)
String getThreadNamePrefix()
ThreadPooledEventDispatcher
getThreadNamePrefix
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.getThreadNamePrefix()
void setThreadNamePrefix(String threadNamePrefix)
ThreadPooledEventDispatcher
threadNamePrefix + '-' + threadId
.
setThreadNamePrefix
in interface ThreadPooledEventDispatcher
ThreadPooledEventDispatcher.setThreadNamePrefix(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |