@Value.Immutable public abstract class ThreadFactoryProvider extends Object
ThreadFactory. Easier to use than the
 ThreadFactoryBuilder, because it
 enforces setting all required properties through a staged builder.| Constructor and Description | 
|---|
ThreadFactoryProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ImmutableThreadFactoryProvider.NamePrefixBuildStage | 
builder()  | 
boolean | 
daemon()
Daemon or not for new threads created via this factory. 
 | 
ThreadFactory | 
get()  | 
abstract org.slf4j.Logger | 
logger()
Logger used to log uncaught exceptions from new threads created via this factory. 
 | 
abstract String | 
namePrefix()
Prefix for threads from this factory. 
 | 
abstract Optional<Integer> | 
priority()
Priority for new threads from this factory. 
 | 
public static ImmutableThreadFactoryProvider.NamePrefixBuildStage builder()
@Value.Parameter public abstract String namePrefix()
@Value.Parameter public abstract org.slf4j.Logger logger()
@Value.Parameter public abstract Optional<Integer> priority()
@Value.Default public boolean daemon()
public ThreadFactory get()
Copyright © 2019 OpenDaylight. All rights reserved.