public interface ThreadMonitor extends ResourceMonitor<Integer>
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 |
---|---|
int |
getAliveThreads()
Returns the number of alive threads created by the bundles in this
resource context.
|
delete, disable, enable, equals, getContext, getMonitoredPeriod, getResourceType, getSamplingPeriod, getUsage, hashCode, isDeleted, isEnabled
int getAliveThreads()
The ResourceMonitor.getUsage()
method returns the same value, wrapped in a int.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0