BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
FileBackendStoreShardListIterator Class Reference
Inheritance diagram for FileBackendStoreShardListIterator:
Collaboration diagram for FileBackendStoreShardListIterator:

Public Member Functions

 __construct (FileBackendStore $backend, $container, $dir, array $suffixes, array $params)
 
 accept ()
 
 rewind ()
 

Protected Member Functions

 listFromShard ($container)
 

Protected Attributes

 $backend
 
 $params
 
 $container
 
 $directory
 
 $multiShardPaths = []
 

Detailed Description

FileBackendStore helper function to handle listings that span container shards. Do not use this class from places outside of FileBackendStore.

Constructor & Destructor Documentation

FileBackendStoreShardListIterator::__construct ( FileBackendStore  $backend,
  $container,
  $dir,
array  $suffixes,
array  $params 
)
Parameters
FileBackendStore$backend
string$containerFull storage container name
string$dirStorage directory relative to container
array$suffixesList of container shard suffixes
array$params

Member Function Documentation

FileBackendStoreShardListIterator::listFromShard (   $container)
abstractprotected

Get the list for a given container shard

Parameters
string$containerResolved container name
Returns
Iterator

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