gov.bnl.star.offline.scheduler.util
Class StatisticsRecorder

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.util.StatisticsRecorder

public class StatisticsRecorder
extends java.lang.Object

Utility class to record scheduler statistics in a database.

Version:
$Revision: 1.37 $ $Date: 2006/11/21 00:41:30 $
Author:
Gabriele Carcassi

Method Summary
static StatisticsRecorder getInstance()
          Retrieve the statistics recorder.
 void recordStatistics(Request request, java.util.List jobs)
          Record the statistics of the job request in the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StatisticsRecorder getInstance()
Retrieve the statistics recorder.

Returns:
the statistics recorder

recordStatistics

public void recordStatistics(Request request,
                             java.util.List jobs)
Record the statistics of the job request in the database.

Parameters:
request - the request to be recorded


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.