com.transferwise.tasks.entrypoints.IMdcService 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.
The newest version!
package com.transferwise.tasks.entrypoints;
import com.transferwise.tasks.domain.IBaseTask;
import com.transferwise.tasks.domain.ITask;
import java.util.UUID;
import java.util.concurrent.Callable;
import lombok.NonNull;
public interface IMdcService {
void clear();
void with(Runnable runnable);
T with(Callable callable);
void put(@NonNull ITask task);
void put(@NonNull IBaseTask task);
void put(UUID taskId, Long taskVersion);
void put(UUID taskId);
void putType(String type);
void putSubType(String subType);
}