PostgresTenantMigrationLockManager
in package
implements
TenantMigrationLockManagerInterface
Table of Contents
Interfaces
Methods
- acquire() : TenantMigrationLockHandle
- Try to acquire the tenant migration advisory lock.
- lockKeys() : array{int, int}
Methods
acquire()
Try to acquire the tenant migration advisory lock.
public
acquire(Connection $connection, TenantMetadata $tenant) : TenantMigrationLockHandle
Parameters
- $connection : Connection
- $tenant : TenantMetadata
Return values
TenantMigrationLockHandlelockKeys()
private
lockKeys(TenantMetadata $tenant) : array{int, int}
Parameters
- $tenant : TenantMetadata