Modifier and Type | Field and Description |
---|---|
protected ThreadFactory |
factory |
protected Runnable |
function |
protected boolean |
running |
protected Runnable |
stop_function |
protected Thread |
thread |
protected String |
thread_name |
Constructor and Description |
---|
Runner(ThreadFactory factory,
String thread_name,
Runnable function,
Runnable stop_function) |
protected final ThreadFactory factory
protected final String thread_name
protected final Runnable function
protected final Runnable stop_function
protected volatile boolean running
protected Thread thread
public Runner(ThreadFactory factory, String thread_name, Runnable function, Runnable stop_function)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.