|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfabric.common.AbstractMessageHandlerThread.Pool<MessageHandlerThread>
public static final class AbstractMessageHandlerThread.Pool<MessageHandlerThread extends AbstractMessageHandlerThread<?,MessageHandlerThread>>
Constructor Summary | |
---|---|
AbstractMessageHandlerThread.Pool(int size,
AbstractMessageHandlerThread.Factory<MessageHandlerThread> threadFactory)
|
Method Summary | |
---|---|
MessageHandlerThread |
get()
|
boolean |
handlerDone(MessageHandlerThread handler)
Invoked by a MessageHandlerThread object to notify the pool
that it is done processing a message. |
void |
shutdown()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMessageHandlerThread.Pool(int size, AbstractMessageHandlerThread.Factory<MessageHandlerThread> threadFactory)
Method Detail |
---|
public MessageHandlerThread get()
MessageHandlerThread
object.public boolean handlerDone(MessageHandlerThread handler)
MessageHandlerThread
object to notify the pool
that it is done processing a message.
public void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |