• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scheduling and re-scheduling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduling and re-scheduling


  • Subject: Re: Scheduling and re-scheduling
  • From: Stamenkovic Florijan <email@hidden>
  • Date: Sat, 04 Apr 2009 13:06:16 -0400

ScheduledExecutorService, no question ... If you don't, I would write it with an someObject.wait(sessionTimeout) and someObject.notifyAll when you ping the session to keep it alive, at which point your code can decide if it needs to perform its action or resleep. Definitely don't poll, but regardless, I wouldn't write this yourself. java.util.concurrent will do something better than either of us can come up with. The guys who wrote that stuff are pretty damn smart.

I see what you're saying about java.util.concurrent, the more I learn about it, the more I like it and feel comfortable relying on it. Will go with that option...


Thx,
F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Scheduling and re-scheduling (From: Stamenkovic Florijan <email@hidden>)
 >Re: Scheduling and re-scheduling (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Scheduling and re-scheduling
  • Next by Date: Re: WebObjects with NetBeans 6.5
  • Previous by thread: Re: Scheduling and re-scheduling
  • Next by thread: [OT] It's gone!!!
  • Index(es):
    • Date
    • Thread