ResourceMonitor for the
ResourceMonitoringService#RES_TYPE_THREADS resource type. A
ThreadMonitor instance monitors and limits the thread created by a
ResourceContext instance.
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the number of alive threads created by this resource contextReturns the number of alive threads created by the bundles in this resource context. |
| getAliveThreads | back to summary |
|---|---|
| public int getAliveThreads() Returns the number of alive threads created by the bundles in this resource context. A Thread is considered to be alive when its java state is one of the following:
The
| |