Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::concurrent::DaemonThreadFactory Class Reference

List of all members.

Public Member Functions

 DaemonThreadFactory ()
 DaemonThreadFactory (String threadNamePrefix)
Thread newThread (Runnable command)
void setThreadNamePrefix (String threadNamePrefix)

Protected Member Functions

String getThreadName (String assignedName)

Private Attributes

String threadNamePrefix

Detailed Description

Factory for daemon threads.
Author:
hsommer created Oct 29, 2003 3:51:25 PM


Constructor & Destructor Documentation

alma::acs::concurrent::DaemonThreadFactory::DaemonThreadFactory  )  [inline]
 

alma::acs::concurrent::DaemonThreadFactory::DaemonThreadFactory String  threadNamePrefix  )  [inline]
 


Member Function Documentation

String alma::acs::concurrent::DaemonThreadFactory::getThreadName String  assignedName  )  [inline, protected]
 

Can be overridden to change the name used for a new thread.

Parameters:
assignedName concatenation of the name prefix (if one was given in DaemonThreadFactory#setThreadNamePrefix(String)) and the thread name generated by the constructor of Thread.
Returns:
the name to be used (will be ignored if it's null)

Thread alma::acs::concurrent::DaemonThreadFactory::newThread Runnable  command  )  [inline]
 

See also:
ThreadFactory#newThread(java.lang.Runnable)

void alma::acs::concurrent::DaemonThreadFactory::setThreadNamePrefix String  threadNamePrefix  )  [inline]
 


Member Data Documentation

String alma::acs::concurrent::DaemonThreadFactory::threadNamePrefix [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:21 2009 for ACS Java API by doxygen 1.3.8