uk.ac.ncl.cs.instantsoap.queue
Interface QosMonitor


public interface QosMonitor

Monitor that reports quality of service stats.

Author:
Matthew Pocock

Method Summary
 float averageTaskTime(TimeUnit timeUnit)
          Return the average time taken to process each task.
 float jobRate(TimeUnit timeUnit)
          Return the job rate in the specified unit of time.
 

Method Detail

jobRate

float jobRate(TimeUnit timeUnit)
Return the job rate in the specified unit of time.

Parameters:
timeUnit - the TimeUnit to calcualte the rate during
Returns:
the job rate as jobs/timeUnit

averageTaskTime

float averageTaskTime(TimeUnit timeUnit)
Return the average time taken to process each task.

Parameters:
timeUnit - the TimeUnit to calculate the average task time in
Returns:
the average time taken to process tasks


Copyright © 2006-2008. All Rights Reserved.