Overview

Namespaces

  • Net
    • Bazzline
      • Component
        • Lock

Classes

  • FileHandlerLock
  • FileNameLock
  • RuntimeLock

Interfaces

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

Class RuntimeLock

Class RuntimeLock

Net\Bazzline\Component\Lock\RuntimeLock implements Net\Bazzline\Component\Lock\LockInterface
Namespace: Net\Bazzline\Component\Lock
Package: Net\Bazzline\Component\Lock
Located at RuntimeLock.php
Methods summary
public
# __construct( string $name = '' )

Parameters

$name

Throws

InvalidArgumentException
public boolean
# isLocked( )

Returns

boolean

Implementation of

Net\Bazzline\Component\Lock\LockInterface::isLocked()
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 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