com.transferwise.tasks.handler.interfaces.ITaskHandler 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.interfaces;
import com.transferwise.tasks.domain.IBaseTask;
@SuppressWarnings("unused")
public interface ITaskHandler {
ITaskProcessor getProcessor(IBaseTask task);
ITaskRetryPolicy getRetryPolicy(IBaseTask task);
ITaskConcurrencyPolicy getConcurrencyPolicy(IBaseTask task);
ITaskProcessingPolicy getProcessingPolicy(IBaseTask task);
boolean handles(IBaseTask task);
}