HH\Lib\Experimental\File\Lock

A File Lock, which is unlocked as a disposable

To acquire one, call lock on a Base object.

Note that in some cases, such as the non-blocking lock types, we may throw an LockAcquisitionException instead of acquiring the lock. If this is not desired behavior it should be guarded against.

Interface Synopsis

namespace HH\Lib\Experimental\File;

final class Lock implements \IDisposable {...}

Public Methods