

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 |
Factory for daemon threads.
| alma::acs::concurrent::DaemonThreadFactory::DaemonThreadFactory | ( | ) | [inline] |
| alma::acs::concurrent::DaemonThreadFactory::DaemonThreadFactory | ( | String | threadNamePrefix | ) | [inline] |
References setThreadNamePrefix().
| String alma::acs::concurrent::DaemonThreadFactory::getThreadName | ( | String | assignedName | ) | [inline, protected] |
Can be overridden to change the name used for a new thread.
| assignedName | concatenation of the name prefix (if one was given in DaemonThreadFactory#setThreadNamePrefix(String)) and the thread name generated by the constructor of Thread. |
Referenced by newThread().
| Thread alma::acs::concurrent::DaemonThreadFactory::newThread | ( | Runnable | command | ) | [inline] |
References getThreadName(), and threadNamePrefix.
Referenced by alma::acs::logging::RemoteLoggingTest::testConcurrentRemoteInitAndStop().
| void alma::acs::concurrent::DaemonThreadFactory::setThreadNamePrefix | ( | String | threadNamePrefix | ) | [inline] |
Referenced by DaemonThreadFactory().
String alma::acs::concurrent::DaemonThreadFactory::threadNamePrefix [private] |
Referenced by newThread().
1.6.2