|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.common.gump.GumpClientThreadManager
public class GumpClientThreadManager
Represents a ThreadPool responsible for managing and executing Threads that will invoke RMI methods on the external consumers using the Peer, for example: MyGrid.
Constructor Summary | |
---|---|
GumpClientThreadManager(EBPeerManagerFacade facade)
Default constructor |
Method Summary | |
---|---|
void |
createAndExecuteDelivererThread(ObjectID gumClientID,
GumResponseEntry gumResponseEntry)
Creates a DelivererThread and arrange to be executed by a
thread in the pool. |
void |
shutdown()
Informs the service thread associated with the object that it must shutdown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GumpClientThreadManager(EBPeerManagerFacade facade)
Method Detail |
---|
public void createAndExecuteDelivererThread(ObjectID gumClientID, GumResponseEntry gumResponseEntry)
DelivererThread
and arrange to be executed by a
thread in the pool. The Thread created will try to deliver a
Gum
to a GumpClient.
If the gum cannot be
successfully delivered, the deliverer thread will dispose the gum.
gumClientID
- ID of the consumer that will receive the
GridMachine
gumResponseEntry
- an object which encapsulates information about
the gum to be delivered, including a reference to a
Gum
typepublic void shutdown()
Shutdownable
shutdown
in interface Shutdownable
Shutdownable.shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |