-
public interface ManageableThread
Interface to be implemented by the Jakarta™ EE product providers on platform threads that are created by callingThreadFactory.newThread(java.lang.Runnable)
. Virtual threads do not implementManageableThread
.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isShutdown()
This method is used by the application component provider to check whether a thread created by thenewThread
method ofManagedThreadFactory
has been marked for shut down.
-
-
-
Method Detail
-
isShutdown
boolean isShutdown()
This method is used by the application component provider to check whether a thread created by thenewThread
method ofManagedThreadFactory
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:
- true if this thread has been marked for shutdown.
-
-