LockInterface
in
This interface allows application components to implement locking for spitfire, generally we lock using files, but we could also use other mechanisms like remote servers, databases or semaphores.
Table of Contents
- lock() : LockInterface
- synchronize() : mixed
- unlock() : mixed
Methods
lock()
public
lock([mixed $wait = true ]) : LockInterface
Parameters
- $wait : mixed = true
Return values
LockInterface —synchronize()
public
synchronize(mixed $fn[, mixed $wait = true ]) : mixed
Parameters
- $fn : mixed
- $wait : mixed = true
Return values
mixed —unlock()
public
unlock() : mixed