public interface MeasurementServerService
| Modifier and Type | Field and Description |
|---|---|
static String |
CONCURRENCY_LIMIT_MEASUREMENT_REPORT |
static String |
CONCURRENCY_LIMIT_MEASUREMENT_SCHEDULE_REQUEST |
| Modifier and Type | Method and Description |
|---|---|
Set<org.rhq.core.domain.measurement.ResourceMeasurementScheduleRequest> |
getLatestSchedulesForResourceId(int resourceIds,
boolean getChildSchedules)
Asks the server to return all measurement schedules for the given resource and optionally its child resources.
|
Set<org.rhq.core.domain.measurement.ResourceMeasurementScheduleRequest> |
getLatestSchedulesForResourceIds(Set<Integer> resourceIds,
boolean getChildSchedules)
Asks the server to return all measurement schedules for the given resources and optionally their child resources.
|
void |
mergeMeasurementReport(org.rhq.core.domain.measurement.MeasurementReport report)
This method is called when new measurements are to be reported from an agent to the server.
|
static final String CONCURRENCY_LIMIT_MEASUREMENT_REPORT
static final String CONCURRENCY_LIMIT_MEASUREMENT_SCHEDULE_REQUEST
@Asynchronous(guaranteedDelivery=true) @LimitedConcurrency(value="rhq.server.concurrency-limit.measurement-report") void mergeMeasurementReport(org.rhq.core.domain.measurement.MeasurementReport report)
report - the report containing the metric data@LimitedConcurrency(value="rhq.server.concurrency-limit.measurement-schedule-request") Set<org.rhq.core.domain.measurement.ResourceMeasurementScheduleRequest> getLatestSchedulesForResourceIds(Set<Integer> resourceIds, boolean getChildSchedules)
resourceIds - identifies resources whose schedules are to be returnedgetChildSchedules - if true the schedules for an entire subtree will be retrieved@LimitedConcurrency(value="rhq.server.concurrency-limit.measurement-schedule-request") Set<org.rhq.core.domain.measurement.ResourceMeasurementScheduleRequest> getLatestSchedulesForResourceId(int resourceIds, boolean getChildSchedules)
resourceId - identifies the resource whose schedules are to be returnedgetChildSchedules - if true the schedules for an entire subtree will be retrievedCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.