MediaWiki
1.34.0
SwiftFileOpHandle.php
Go to the documentation of this file.
1
<?php
28
class
SwiftFileOpHandle
extends
FileBackendStoreOpHandle
{
30
public
$httpOp
;
32
public
$callback
;
33
35
public
$state
= self::CONTINUE_IF_OK;
36
38
const
CONTINUE_IF_OK = 0;
40
const
CONTINUE_NO = 1;
41
53
public
function
__construct
(
SwiftFileBackend
$backend
, Closure
$callback
, array
$httpOp
) {
54
$this->backend =
$backend
;
55
$this->callback =
$callback
;
56
$this->httpOp =
$httpOp
;
57
}
58
}
SwiftFileOpHandle
Definition:
SwiftFileOpHandle.php:28
SwiftFileOpHandle\$httpOp
array[] $httpOp
List of HTTP request maps for MultiHttpClient.
Definition:
SwiftFileOpHandle.php:30
SwiftFileBackend
Class for an OpenStack Swift (or Ceph RGW) based file backend.
Definition:
SwiftFileBackend.php:36
FileBackendStoreOpHandle\$backend
FileBackendStore $backend
Definition:
FileBackendStoreOpHandle.php:34
SwiftFileOpHandle\$state
int $state
Class CONTINUE_* constant.
Definition:
SwiftFileOpHandle.php:35
FileBackendStoreOpHandle
FileBackendStore helper class for performing asynchronous file operations.
Definition:
FileBackendStoreOpHandle.php:30
SwiftFileOpHandle\$callback
Closure $callback
Function to run after each HTTP request finishes.
Definition:
SwiftFileOpHandle.php:32
SwiftFileOpHandle\__construct
__construct(SwiftFileBackend $backend, Closure $callback, array $httpOp)
Construct a handle to be use with SwiftFileOpHandle::doExecuteOpHandlesInternal()
Definition:
SwiftFileOpHandle.php:53
includes
libs
filebackend
fileophandle
SwiftFileOpHandle.php
Generated on Thu Dec 19 2019 14:54:27 for MediaWiki by
1.8.16