public class NamedThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamedThreadFactory(String threadNamePrefix) |
NamedThreadFactory(String threadNamePrefix,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadFactory |
named(String threadNamePrefix) |
static ThreadFactory |
named(String threadNamePrefix,
int priority) |
Thread |
newThread(Runnable runnable) |
public NamedThreadFactory(String threadNamePrefix)
public NamedThreadFactory(String threadNamePrefix, int priority)
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactorypublic static ThreadFactory named(String threadNamePrefix)
public static ThreadFactory named(String threadNamePrefix, int priority)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.