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

org.threadly.concurrent.CallableContainer Maven / Gradle / Ivy

Go to download

A library of tools to assist with safe concurrent java development. Providing a unique priority based thread pool, and ways to distrbute threaded work.

There is a newer version: 7.0
Show newest version
package org.threadly.concurrent;

import java.util.concurrent.Callable;

/**
 * 

Interface to implement if any classes are containing a callable. This interface must be * implemented in order for the {@link PriorityScheduler} (and others) remove function to work * correctly if that wrapper is ever provided to the thread pool.

* * @author jent - Mike Jensen * @since 4.3.0 (since 1.0.0 as CallableContainerInterface) * @param Type for type of callable contained */ public interface CallableContainer { /** * Call to get the contained callable held within the wrapper. * * @return callable contained within wrapper, or {@code null} if none is contained */ public Callable getContainedCallable(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy