CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\Validators\NumberOfShardsValidator Class Reference
+ Inheritance diagram for CirrusSearch\Maintenance\Validators\NumberOfShardsValidator:
+ Collaboration diagram for CirrusSearch\Maintenance\Validators\NumberOfShardsValidator:

Public Member Functions

 __construct (Index $index, $shardCount, Printer $out=null)
 
 validate ()
 
- Public Member Functions inherited from CirrusSearch\Maintenance\Validators\Validator
 __construct (Printer $out)
 
 printDebugCheckConfig ( $print=true)
 

Protected Attributes

 $shardCount
 
- Protected Attributes inherited from CirrusSearch\Maintenance\Validators\Validator
 $out
 
 $printDebugCheckConfig = false
 

Additional Inherited Members

- Protected Member Functions inherited from CirrusSearch\Maintenance\Validators\Validator
 checkConfig ( $actual, array $required, $indent=null)
 
 output ( $message, $channel=null)
 
 outputIndented ( $message)
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Maintenance\Validators\NumberOfShardsValidator::__construct ( Index $index,
$shardCount,
Printer $out = null )
Parameters
Index$index
int$shardCount
Printer | null$out

Member Function Documentation

◆ validate()

CirrusSearch\Maintenance\Validators\NumberOfShardsValidator::validate ( )
Returns
Status

Reimplemented from CirrusSearch\Maintenance\Validators\Validator.


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