Task Buffer for PANDA
This document describes the status and progress of the Task Buffer for
Panda.
Functions
DB Implementation
see
PandaDB
API
*
Store jobs into database
storeJobs(jobs):
parameters
jobs: list of JobSpecs
return
list of tuples (pandaID,jobDefID,jobName).
pandaID is None when the job has not been stored.
*
Update job information
updateJobs(jobs):
parameters
jobs: list of JobSpecs
*
Update job status only
updateJobStatus(jobIDs,status):
parameters
jobIDs: list of pandaIDs
status: list of status
*
Get jobs
getJobs(nJobs,siteName)
parameters
nJobs: number of jobs in integer
siteName: site name in string
return
list of JobSpecs
*
Get job status only
getStatus(jobIDs)
parameters
jobIDs: list of pandaIDs
return
list of status
*
Get overall job information
peekJobs(jobIDs)
parameters
jobIDs: list of pandaIDs
return
list of JobSpecs
*
Query PandaID
queryPandaIDs(jobDefIDs)
parameters
jobDefIDs: list of jobDefIDs
return
list of PandaIDs. Each PandaID is for the latest attempt.
None is returned when corresponding PandaID is not found.
Development Team
TadashiMaeno
Major updates:
--
TadashiMaeno - 24 Aug 2005
--
KaushikDe - 01 Aug 2005
Responsible: KaushikDe