org.glite.apel.publisher
Class AccountChecker

java.lang.Object
  extended by org.glite.apel.publisher.AccountChecker

public class AccountChecker
extends java.lang.Object


Method Summary
 int countArchivedRecords(java.lang.String date, java.lang.String time, java.lang.String siteName)
          Returns the number of archived tuples beginning from the date/time.
 int countArchivedRecordsInGap(java.lang.String date_start, java.lang.String date_end, java.lang.String siteName)
          Returns the number of archived tuples in the Gap interval The Gap interval defines interval in time for jobs which started at the site.
 int execute(java.lang.String queryStatement, java.lang.String siteName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public int execute(java.lang.String queryStatement,
                   java.lang.String siteName)
            throws org.glite.apel.core.ApelException
Throws:
org.glite.apel.core.ApelException

countArchivedRecords

public int countArchivedRecords(java.lang.String date,
                                java.lang.String time,
                                java.lang.String siteName)
                         throws org.glite.apel.core.ApelException
Returns the number of archived tuples beginning from the date/time. Returns -1 if the query cannot complete if the goc archiver is unavailable.

Throws:
org.glite.apel.core.ApelException

countArchivedRecordsInGap

public int countArchivedRecordsInGap(java.lang.String date_start,
                                     java.lang.String date_end,
                                     java.lang.String siteName)
                              throws org.glite.apel.core.ApelException
Returns the number of archived tuples in the Gap interval The Gap interval defines interval in time for jobs which started at the site. EventDate is used instead of MeasuementDate. Returns -1 if the query cannot complete if the goc archiver is unavailable.

Throws:
org.glite.apel.core.ApelException