![JAR search and dependency download from the Maven repository](/logo.png)
bboss.org.jgroups.util.ThreadManager Maven / Gradle / Ivy
The newest version!
package bboss.org.jgroups.util;
/**
* An object that manages threads and provides callbacks to a
* {@link ThreadDecorator} to allow it to alter their state.
*
* @author Brian Stansberry
* @version $Id: ThreadManager.java,v 1.2 2008/05/26 09:28:29 belaban Exp $
*/
public interface ThreadManager {
/**
* Gets the ThreadDecorator associated with this manager.
* @return the ThreadDecorator, or null
if there is none.
*/
ThreadDecorator getThreadDecorator();
/**
* Sets the ThreadDecorator associated this manager should use.
* @param decorator the ThreadDecorator, or null
.
*/
void setThreadDecorator(ThreadDecorator decorator);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy