public class NonstopThreadPool extends Object
Constructor and Description |
---|
NonstopThreadPool(ThreadFactory threadFactory)
Constructor accepting the threadFactory
|
Modifier and Type | Method and Description |
---|---|
StackTraceElement[] |
getNonstopThreadStackTrace()
Get the stack trace details of the nonstop thread for the current thread
|
void |
shutdownNow()
Shuts down the thread pool
|
<T> Future<T> |
submit(Callable<T> task)
Submit a callable task to be executed by the thread pool
|
public NonstopThreadPool(ThreadFactory threadFactory)
threadFactory
- public <T> Future<T> submit(Callable<T> task)
T
- task
- public void shutdownNow()
public StackTraceElement[] getNonstopThreadStackTrace()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.