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 execute(java.lang.String message, 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 message,
                   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