MediaWiki REL1_39
SwiftFileOpHandle.php
Go to the documentation of this file.
1<?php
27 public $httpOp;
29 public $callback;
30
32 public $state = self::CONTINUE_IF_OK;
33
35 public const CONTINUE_IF_OK = 0;
37 public const CONTINUE_NO = 1;
38
50 public function __construct( SwiftFileBackend $backend, Closure $callback, array $httpOp ) {
51 $this->backend = $backend;
52 $this->callback = $callback;
53 $this->httpOp = $httpOp;
54 }
55}
FileBackendStore helper class for performing asynchronous file operations.
Class for an OpenStack Swift (or Ceph RGW) based file backend.
Closure $callback
Function to run after each HTTP request finishes.
int $state
Class CONTINUE_* constant.
__construct(SwiftFileBackend $backend, Closure $callback, array $httpOp)
Construct a handle to be use with SwiftFileOpHandle::doExecuteOpHandlesInternal()
array[] $httpOp
List of HTTP request maps for MultiHttpClient.