Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Inherits ThreadFactory.
Public Member Functions | |
NamedThreadFactory (String name) | |
NamedThreadFactory (String name, boolean suffix) | |
Thread | newThread (Runnable r) |
Thread Factory which assigns a given name + consecutive number to created threads if desired.
de.fu_berlin.inf.dpp.util.NamedThreadFactory.NamedThreadFactory | ( | String | name | ) |
Creates a new ThreadFactory that will assign created threads the given name including a number suffix for each newly created thread.
name | the name to assign to new threads |
NullPointerException | if name is null |
de.fu_berlin.inf.dpp.util.NamedThreadFactory.NamedThreadFactory | ( | String | name, |
boolean | suffix | ||
) |
Creates a new ThreadFactory that will assign created threads the given name including a number suffix for each newly created thread.
name | the name to assign to new threads |
suffix | if true the name will be suffixed by a number |
NullPointerException | if name is null |
Thread de.fu_berlin.inf.dpp.util.NamedThreadFactory.newThread | ( | Runnable | r | ) |