--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/57575673-fbb5-4d43-8f8c-0a66f15b6d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,If I understand correctly, there shouldn't be a problem using Vertx timers instead of Quartz and that also ensures thread safety, correct?
By the way, Do you happen to have code example how to use Quartz along with Vertx Context callback?
Thanks :-)
On Friday, October 9, 2015 at 12:53:50 PM UTC-4, Oren Shvalb wrote:Hi,I'm implementing a server side application using the latest Vert.X 3.1.0.as a part of my code I need to schedule future tasks that run some code in the background; I currently using Quartzwhich internally, I believe, manages thread pool.I believe that this approach might cause me troubles in case Quartz thread and Vertx's main loop try to access same data.so I wonder what is a better approach, ofcourse I can lock things, but it would be bad for Vertx.I know Vertx supportsa timers functionality, Can it replace Quartz? assuming I have very simple needs...Does Vertx timers do not spawn new threads?Hope my question makes sense...Thank you.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/9305b279-c9c2-49b2-84b1-a98803a91405%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/12253487-1f74-4fb9-b1da-11832e395cfc%40googlegroups.com.