class
Illuminate
/
Cache
/
DynamoDbLock
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
DynamoDbLock
Extends
Properties
Methods
public
__construct ( DynamoDbStore $dynamo , $name , $seconds , $owner ) : void
Create a new lock instance.
Parameters
- $dynamo DynamoDbStore
- $name string
- $seconds int
- $owner string|null
public
acquire ( ) : bool
Attempt to acquire the lock.
public
release ( ) : bool
Release the lock.
public
forceRelease ( ) : void
Release this lock in disregard of ownership.
protected
getCurrentOwner ( ) : mixed
Returns the owner value written into the driver for this lock.