org.ow2.jonas.resourcemonitor.internal
Interface JOnASResourceMonitorServiceMBean

All Known Implementing Classes:
JOnASResourceMonitorService

public interface JOnASResourceMonitorServiceMBean

Management interface for the Resource Monitor Service.

Author:
Mickaƫl LEDUQUE

Method Summary
 Integer getMonitoredResourcesCount()
          Returns the number of monitored resources.
 List<String> getMonitoredResourcesDescriptions()
          Returns a list of descriptions for the monitored resources.
 Long getMonitoringInterval()
          Returns the approximate time interval between two resource checks.
 void setMonitoringInterval(Long interval)
          Sets the approximate time interval between two resource checks.
 

Method Detail

getMonitoredResourcesCount

Integer getMonitoredResourcesCount()
Returns the number of monitored resources.

Returns:
the number of monitored resources.

getMonitoredResourcesDescriptions

List<String> getMonitoredResourcesDescriptions()
Returns a list of descriptions for the monitored resources.

Returns:

setMonitoringInterval

void setMonitoringInterval(Long interval)
Sets the approximate time interval between two resource checks.

Parameters:
interval - the new interval in milliseconds.

getMonitoringInterval

Long getMonitoringInterval()
Returns the approximate time interval between two resource checks.

Returns:
interval the interval in milliseconds.


Copyright © 2010 OW2 Consortium. All Rights Reserved.