ManuallyLockedException
extends LockedException
in package
Class ManuallyLockedException
Tags
Table of Contents
Properties
- $existingLock : string|null
- $owner : string|null
- owner of the lock
- $path : string
- Locked path
- $timeout : int
- estimated timeout for the lock
Methods
- __construct() : mixed
- ManuallyLockedException constructor.
- getExistingLock() : string
- getOwner() : string|null
- getPath() : string
- getTimeout() : int
Properties
$existingLock
private
string|null
$existingLock
$owner
owner of the lock
private
string|null
$owner
= null
$path
Locked path
private
string
$path
$timeout
estimated timeout for the lock
private
int
$timeout
= -1
Tags
Methods
__construct()
ManuallyLockedException constructor.
public
__construct(string $path[, Exception|null $previous = null ][, string $existingLock = null ][, string|null $owner = null ][, int $timeout = -1 ]) : mixed
Parameters
- $path : string
-
locked path
- $previous : Exception|null = null
-
previous exception for cascading
- $existingLock : string = null
- $owner : string|null = null
- $timeout : int = -1
Tags
getExistingLock()
public
getExistingLock() : string
Tags
Return values
stringgetOwner()
public
getOwner() : string|null
Tags
Return values
string|nullgetPath()
public
getPath() : string
Tags
Return values
stringgetTimeout()
public
getTimeout() : int