Package Ganga :: Package Core :: Package JobRepository :: Module ARDA :: Class RemoteARDAJobRepository
[hide private]
[frames] | no frames]

Class RemoteARDAJobRepository

source code

                                           object --+        
                                                    |        
                                   Base.JobRepository --+    
                                                        |    
                                      ARDARepositoryMixIn --+
                                                            |
Utility.external.ARDAMDClient.mdinterface.MDInterface --+   |
                                                        |   |
          Utility.external.ARDAMDClient.mdclient.MDClient --+
                                                            |
                                                           RemoteARDAJobRepository
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, schema, role, streamer, tree_streamer, root_dir, host='gangamd.cern.ch', port=8822, login='user', password='ganga', reqSSL=True, keepalive=True, init_schema=True, **kwds)
schema is a subset of job schema.
source code
 
_getGridProxy(self) source code
 
_isDirNotFoundError(self, e) source code
 
_isNotASequenceError(self, e) source code
 
removeAllLocks(self) source code
 
releaseAllLocks(self) source code
 
listAllLocks(self) source code

Inherited from ARDARepositoryMixIn: checkoutJobs, commitJobs, deleteJobs, getJobAttributes, getJobIds, getJobTree, getJobsStatus, registerJobs, resetAll, setJobTree, setJobsStatus

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from Utility.external.ARDAMDClient.mdclient.MDClient: abort, addAttr, addEntries, addEntry, cd, clearAttr, commit, connect, constraintAddCheck, constraintAddNotNull, constraintAddReference, constraintAddUnique, constraintDrop, constraintList, createDir, createPlainDir, disconnect, eot, execute, executeNoWait, fetchRow, find, getEntry, getSelectAttrEntry, getattr, listAttr, listEntries, put, pwd, remoteExecute, removeAttr, removeDir, replicaAdd, replicaList, replicaRegister, replicaUnregister, requireSSL, retrieveResult, rm, selectAttr, sequenceCreate, sequenceNext, sequenceRemove, setAttr, siteAdd, siteList, siteRemove, transaction, update, updateAttr, upload

Inherited from Utility.external.ARDAMDClient.mdinterface.MDInterface: splitUpdateClause

Class Variables [hide private]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, schema, role, streamer, tree_streamer, root_dir, host='gangamd.cern.ch', port=8822, login='user', password='ganga', reqSSL=True, keepalive=True, init_schema=True, **kwds)
(Constructor)

source code 

schema is a subset of job schema. It should be list of tuples (attr, dbtype), where attr is a name of attribute, and dbtype is database specific type. role can be 'Client' or 'JobManager'. 'Client' can only modify job status of 'new' jobs streamer is an object which converts job dictionary into a string and vice versa. tree_streamer is an object which converts jobtree into a string and vice versa.

Overrides: Utility.external.ARDAMDClient.mdclient.MDClient.__init__

_isDirNotFoundError(self, e)

source code 
Overrides: ARDARepositoryMixIn._isDirNotFoundError

_isNotASequenceError(self, e)

source code 
Overrides: ARDARepositoryMixIn._isNotASequenceError