TYPO3CMS
9.5
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
LockingStrategyInterface.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Locking
;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
17
use
TYPO3\CMS\Core\Locking\Exception\LockAcquireException
;
18
use
TYPO3\CMS\Core\Locking\Exception\LockAcquireWouldBlockException
;
19
use
TYPO3\CMS\Core\Locking\Exception\LockCreateException
;
20
24
interface
LockingStrategyInterface
25
{
29
const
LOCK_CAPABILITY_EXCLUSIVE
= 1;
30
34
const
LOCK_CAPABILITY_SHARED
= 2;
35
39
const
LOCK_CAPABILITY_NOBLOCK
= 4;
40
44
public
static
function
getCapabilities
();
45
49
public
static
function
getPriority
();
50
55
public
function
__construct
($subject);
56
65
public
function
acquire
($mode = self::LOCK_CAPABILITY_EXCLUSIVE);
66
72
public
function
release
();
73
77
public
function
destroy
();
78
84
public
function
isAcquired
();
85
}
TYPO3\CMS\Core\Locking\LockingStrategyInterface\release
bool release()
TYPO3\CMS\Core\Locking\LockingStrategyInterface\isAcquired
bool isAcquired()
TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_NOBLOCK
const LOCK_CAPABILITY_NOBLOCK
Definition:
LockingStrategyInterface.php:39
TYPO3\CMS\Core\Locking
TYPO3\CMS\Core\Locking\LockingStrategyInterface
Definition:
LockingStrategyInterface.php:25
TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_EXCLUSIVE
const LOCK_CAPABILITY_EXCLUSIVE
Definition:
LockingStrategyInterface.php:29
TYPO3\CMS\Core\Locking\Exception\LockAcquireWouldBlockException
Definition:
LockAcquireWouldBlockException.php:21
TYPO3\CMS\Core\Locking\LockingStrategyInterface\__construct
__construct($subject)
TYPO3\CMS\Core\Locking\LockingStrategyInterface\destroy
destroy()
TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_SHARED
const LOCK_CAPABILITY_SHARED
Definition:
LockingStrategyInterface.php:34
TYPO3\CMS\Core\Locking\Exception\LockAcquireException
Definition:
LockAcquireException.php:21
TYPO3\CMS\Core\Locking\LockingStrategyInterface\acquire
bool acquire($mode=self::LOCK_CAPABILITY_EXCLUSIVE)
TYPO3\CMS\Core\Locking\Exception\LockCreateException
Definition:
LockCreateException.php:21
TYPO3\CMS\Core\Locking\LockingStrategyInterface\getCapabilities
static int getCapabilities()
TYPO3\CMS\Core\Locking\LockingStrategyInterface\getPriority
static int getPriority()
doxygen
typo3
sysext
core
Classes
Locking
LockingStrategyInterface.php
Generated on Tue Oct 5 2021 01:57:09 for TYPO3CMS by
1.8.18