public class NamedThreadFactory extends ThreadGroup implements ThreadFactory
| Constructor and Description |
|---|
NamedThreadFactory(String name) |
NamedThreadFactory(String name,
Boolean daemon) |
NamedThreadFactory(String name,
Boolean daemon,
Integer priority) |
NamedThreadFactory(String name,
Boolean daemon,
Integer priority,
boolean inEventLoop) |
| Modifier and Type | Method and Description |
|---|---|
void |
interruptAll() |
@NotNull Thread |
newThread(@NotNull Runnable r) |
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtExceptionpublic NamedThreadFactory(String name)
@NotNull public @NotNull Thread newThread(@NotNull @NotNull Runnable r)
newThread in interface ThreadFactorypublic void interruptAll()
Copyright © 2024. All rights reserved.