All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.spi.ThreadCreator Maven / Gradle / Ivy

The newest version!
package org.infinispan.commons.spi;

import java.util.Optional;
import java.util.concurrent.ExecutorService;

/**
 * @since 15.0
 **/
public interface ThreadCreator {
   Thread createThread(ThreadGroup threadGroup, Runnable target, boolean lightweight);

   Optional newVirtualThreadPerTaskExecutor();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy