MediaWiki REL1_39
FileBackendStoreOpHandle Class Reference

FileBackendStore helper class for performing asynchronous file operations. More...

Inheritance diagram for FileBackendStoreOpHandle:
Collaboration diagram for FileBackendStoreOpHandle:

Public Member Functions

 closeResources ()
 Close all open file handles.
 

Public Attributes

FileBackendStore $backend
 
callable $call
 name that identifies the function called
 
array $params = []
 
array $resourcesToClose = []
 

Detailed Description

FileBackendStore helper class for performing asynchronous file operations.

For example, calling FileBackendStore::createInternal() with the "async" param flag may result in a StatusValue that contains this object as a value. This class is largely backend-specific and is mostly just "magic" to be passed to FileBackendStore::executeOpHandlesInternal().

Stability: stable
to extend

Definition at line 32 of file FileBackendStoreOpHandle.php.

Member Function Documentation

◆ closeResources()

FileBackendStoreOpHandle::closeResources ( )

Close all open file handles.

Definition at line 45 of file FileBackendStoreOpHandle.php.

Member Data Documentation

◆ $backend

FileBackendStore FileBackendStoreOpHandle::$backend

◆ $call

callable FileBackendStoreOpHandle::$call

name that identifies the function called

Definition at line 40 of file FileBackendStoreOpHandle.php.

Referenced by FSFileOpHandle\__construct().

◆ $params

array FileBackendStoreOpHandle::$params = []

Definition at line 34 of file FileBackendStoreOpHandle.php.

Referenced by FSFileOpHandle\__construct().

◆ $resourcesToClose

array FileBackendStoreOpHandle::$resourcesToClose = []

Definition at line 38 of file FileBackendStoreOpHandle.php.


The documentation for this class was generated from the following file: