Task queue java
Posted
by user268515
on Stack Overflow
See other posts from Stack Overflow
or by user268515
Published on 2010-06-12T06:28:42Z
Indexed on
2010/06/12
6:32 UTC
Read the original article
Hit count: 508
Hi i'm new to Task queue concepts when i referred the guide I got struck on this line
queue.add( DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(), TaskOptions().url("/path/to/my/worker"));
what is TaskOptions() method. Is it default method are method created manually what will TaskOptions() method will return.
I created a method called TaskOption() when i to return a string value its saying error as "The method url(String) is undefined for the type String"
In url what i want to specify servlet are any other.
My doubt may be stupid but plz clarify it.
Thank you, sharun.
© Stack Overflow or respective owner