geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Cabrera <Alan.Cabr...@reuters.com>
Subject RE: Thread pool strategy
Date Wed, 14 Jul 2004 19:03:14 GMT

walkDogs() throws Poop;

-----Original Message-----
From: Geir Magnusson Jr [mailto:geir@4quarters.com] 
Sent: Wednesday, July 14, 2004 9:44 AM
To: dev@geronimo.apache.org
Subject: Re: Thread pool strategy


On Jul 13, 2004, at 5:39 PM, toby cabot wrote:

> On Tue, Jul 13, 2004 at 03:33:35PM -0400, Geir Magnusson Jr wrote:
>> Is it really "now" as in "if you don't have to wait for a thread, do

>> it
>> - otherwise return w/ a status indicating now wasn't possible" or
"now
>> as in  "wait until there's a thread, do it, and then return to me"?
>
> three choices:
>
>   doWork() - "block until it's done"
>   startWork() - "block until it starts and then return"
>   scheduleWork() - "return now and do the work whenever."
>
> http://java.sun.com/j2ee/1.4/docs/api/javax/resource/spi/work/ 
> WorkManager.html

Thx.  needs one more :

doWorkNow()

:)

-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com





-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


Mime
View raw message