com.transferwise.tasks.triggering.ITasksExecutionTriggerer 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.triggering;
import com.transferwise.tasks.ITasksService;
import com.transferwise.tasks.domain.BaseTask;
import java.util.concurrent.Future;
public interface ITasksExecutionTriggerer {
void trigger(BaseTask task);
void startTasksProcessing(String bucketId);
Future stopTasksProcessing(String bucketId);
ITasksService.TasksProcessingState getTasksProcessingState(String bucketId);
}