org.apache.hivemind.management.impl
Interface PerformanceCollector

All Known Implementing Classes:
PerformanceMonitorMBean

public interface PerformanceCollector

Interface for gathering performance data Is used by the performanceMonitor interceptor for communication with the corresponding MBean of type PerformanceMonitorMBean.

Since:
1.1
Author:
Achim Huegen

Method Summary
 void addMeasurement(org.apache.hivemind.service.MethodSignature method, long executionTime)
          Adds the measurement of a method execution
 

Method Detail

addMeasurement

void addMeasurement(org.apache.hivemind.service.MethodSignature method,
                    long executionTime)
Adds the measurement of a method execution

Parameters:
method - the executed method
executionTime - the duration of the method execution