org.norther.tammi.core.thread
Interface ThreadFactory

All Superinterfaces:
ObjectFactory, ThreadFactory

public interface ThreadFactory
extends ObjectFactory, ThreadFactory

An interface to thread factories.

Author:
Ilkka Priha

Method Summary
 int getPriority()
          Gets the default priority of production threads.
 boolean isDaemon()
          Gets the daemon flag of production threads.
 void setDaemon(boolean daemon)
          Sets the daemon flag of production threads.
 void setPriority(int priority)
          Sets the default priority of production threads.
 
Methods inherited from interface org.norther.tammi.core.base.ObjectFactory
getInstance, getInstance, getInstance, getInstance, isLoaderSupported
 
Methods inherited from interface java.util.concurrent.ThreadFactory
newThread
 

Method Detail

getPriority

int getPriority()
Gets the default priority of production threads.

Returns:
the default priority.

setPriority

void setPriority(int priority)
Sets the default priority of production threads.

Parameters:
priority - the default priority.

isDaemon

boolean isDaemon()
Gets the daemon flag of production threads.

Returns:
the daemon flag.

setDaemon

void setDaemon(boolean daemon)
Sets the daemon flag of production threads.

Parameters:
daemon - the daemon flag.


Copyright © 2004 The Norther Organization. All rights reserved.