public interface ThreadMonitor extends ResourceMonitor
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 © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0