Package entropy :: Package client :: Package interfaces :: Module repository :: Class RepositoriesUpdateResourcesLock

Class RepositoriesUpdateResourcesLock

source code


Repositories update resource lock that can be used to acquire exclusive access to the repositories update process.

Instance Methods
 
__init__(self, output=None)
Object constructor.
source code
 
path(self)
Return the path to the lock file.
source code

Inherited from locks.ResourceLock: acquire_exclusive, acquire_shared, exclusive, is_already_acquired, release, shared, try_acquire_exclusive, try_acquire_shared, wait_exclusive, wait_shared

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

Properties

Inherited from object: __class__

Method Details

__init__(self, output=None)
(Constructor)

source code 

Object constructor.

Parameters:
  • output (entropy.output.TextInterface or None) - a TextInterface interface
Overrides: object.__init__

path(self)

source code 

Return the path to the lock file.

Overrides: locks.ResourceLock.path