com.transferwise.tasks.handler.NoRetryPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-tasks-core Show documentation
Show all versions of tw-tasks-core Show documentation
Transferwise Tasks Executor - Fire and forget until Alert.
package com.transferwise.tasks.handler;
import com.transferwise.tasks.domain.ITask;
import com.transferwise.tasks.handler.interfaces.ITaskRetryPolicy;
import java.time.ZonedDateTime;
public class NoRetryPolicy implements ITaskRetryPolicy {
@Override
public ZonedDateTime getRetryTime(ITask task, Throwable t) {
return null;
}
}