Overview

Namespaces

  • Net
    • Bazzline
      • Component
        • Lock

Classes

  • FileHandlerLock
  • FileNameLock
  • RuntimeLock

Interfaces

  • LockAwareInterface
  • LockDependentInterface
  • LockInterface
  • Overview
  • Namespace
  • Class

Class FileNameLock

Class FileNameLock

Net\Bazzline\Component\Lock\FileNameLock implements Net\Bazzline\Component\Lock\LockInterface
Namespace: Net\Bazzline\Component\Lock
Package: Net\Bazzline\Component\Lock
Author: stev leibelt artodeto@bazzline.net
Since: 2013-06-30
Located at FileNameLock.php
Methods summary
public
# __construct( string $resource = '' )

Parameters

$resource
public
# acquire( )

Throws

RuntimeException

Implementation of

Net\Bazzline\Component\Lock\LockInterface::acquire()
public
# release( )

Throws

RuntimeException

Implementation of

Net\Bazzline\Component\Lock\LockInterface::release()
public boolean
# isLocked( )

Returns

boolean

Implementation of

Net\Bazzline\Component\Lock\LockInterface::isLocked()
public mixed|string
# getResource( )

Returns

mixed|string

Implementation of

Net\Bazzline\Component\Lock\LockInterface::getResource()
public
# setResource( mixed|string $resource )

Parameters

$resource

Throws

InvalidArgumentException

Implementation of

Net\Bazzline\Component\Lock\LockInterface::setResource()
PHP Process Lock Component by bazzline.net API documentation generated by ApiGen