I have the code like below:
Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.withRetryOptions(
RetryOptions.Builder
.withTaskRetryLimit(0)));
With this code the task will not retry if not an error. However, what I want to do is run another function call onRetryFailure() when 10 minutes have passed( the maximum time before retry). Any idea how i can do so?