MediaWiki REL1_34
SwiftFileOpHandle.php
Go to the documentation of this file.
1<?php
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}
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.