Top Description Methods
javax.enterprise.concurrent

public Interface ManageableThread


Interface to be implemented by the Java™ EE product providers on threads that are created by calling ManagedThreadFactory#newThread(java.lang.Runnable).
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if this thread has been marked for shutdown.
isShutdown
()

This method is used by the application component provider to check whether a thread created by the newThread method of ManagedThreadFactory has been marked for shut down.

Method Detail

isShutdownback to summary
public boolean isShutdown()

This method is used by the application component provider to check whether a thread created by the newThread method of ManagedThreadFactory has been marked for shut down. If the value is true, the application component provider should finish any work on this thread as soon as possible.

Returns:boolean

true if this thread has been marked for shutdown.