com.raynigon.ecs.logging.async.executor.MdcForkJoinPool Maven / Gradle / Ivy
package com.raynigon.ecs.logging.async.executor;
import org.springframework.lang.NonNull;
import java.util.concurrent.Callable;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ForkJoinTask;
public interface MdcForkJoinPool extends Executor, ExecutorService {
void execute(ForkJoinTask> task);
ForkJoinTask submit(ForkJoinTask task);
@Override
@NonNull
public ForkJoinTask submit(Callable task);
@Override
@NonNull
public ForkJoinTask submit(Runnable task, T result);
@Override
@NonNull
public ForkJoinTask> submit(Runnable task);
}