|
|
|
|
|
|
|
add(self,
objs,
force_ids=None)
Add the given objects to the repository, forcing the IDs if told to. |
source code
|
|
|
flush(self,
ids)
flush(ids) --> None Writes the objects specified by the ids to the
persistency layer. |
source code
|
|
|
load(self,
ids)
load(ids) --> None Load the objects specified by the ids from the
persistency layer. |
source code
|
|
|
delete(self,
ids)
delete(ids) --> None Delete the objects specified by the ids from
the repository. |
source code
|
|
|
lock(self,
ids)
lock(ids) --> bool Locks the specified IDs against modification
from other Ganga sessions Raise RepositoryError Returns successfully
locked ids |
source code
|
|
|
unlock(self,
ids)
unlock(ids) --> None Unlock the specified IDs to allow another
Ganga session to modify them EXPERIMENTAL - does not have to be
implemented. |
source code
|
|
|
get_lock_session(id)
Tries to determine the session that holds the lock on id for
information purposes, and return an informative string. |
source code
|
|
|
|
|
reap_locks(self)
reap_locks() --> True/False Remotely clear all foreign locks from
the session. |
source code
|
|
|
clean(self)
clean() --> True/False Clear EVERYTHING in this repository,
counter, all jobs, etc. |
source code
|
|
Inherited from GangaRepository.GangaRepository :
__init__ ,
_internal_del__ ,
_internal_setitem__ ,
_make_empty_object_
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|