CachedJobState¶
I wish who wrote this would have put some doc…
IIUC this is a wrapper around the JobState object. It basically tries to cache everything locally instead of going to the DB.
- class DIRAC.WorkloadManagementSystem.Client.JobState.CachedJobState.CachedJobState(jid, skipInitState=False)¶
Bases:
object
- __init__(jid, skipInitState=False)¶
- cleanState(skipInitState=False)¶
- commitChanges()¶
- static deserialize(stub)¶
- getAppStatus()¶
- getAttribute(name)¶
- getAttributes(nameList=None)¶
- getDirtyKeys()¶
- getInputData()¶
- getManifest()¶
- getOptParameter(name)¶
- getOptParameters(nameList=None)¶
- getStatus()¶
- insertIntoTQ()¶
- property jid¶
- log = <DIRAC.FrameworkSystem.private.standardLogging.Logging.Logging object>¶
- recheckValidity(graceTime=600)¶
- resetJob(source='')¶
Reset the job!
- serialize()¶
- setAppStatus(appStatus, source=None)¶
- setAttribute(name, value)¶
- setAttributes(attDict)¶
- setManifest(manifest)¶
- setMinorStatus(minorStatus, source=None)¶
- setOptParameter(name, value)¶
- setOptParameters(pDict)¶
- setStatus(majorStatus, minorStatus=None, appStatus=None, source=None)¶
- property valid¶