PHP Class GBContentFinalizer, gitblog

Reloading all objects and commits in one batch is much faster than repeating those actions for every content class. Also, generating common indexes of content objects is simpler this way.
Inheritance: extends GBContentRebuilder
Afficher le fichier Open project: rsms/gitblog Class Usage Examples

Méthodes publiques

Свойство Type Description
$commentIndexRebuilders
$comments .]
$dirtyComments .]
$dirtyObjects .]
$duplicates .]
$newfound .]
$objectIndexRebuilders
$objects
$objectsByName .]

Méthodes publiques

Méthode Description
__construct ( $forceFullRebuild = false )
_checkCommentDeps ( )
buildPagedPosts ( $gc_count )
finalize ( )
gcStageCache ( ) # only collects GBExposedContent stuff + comments
reloadAndWriteCache ( $objects )
reloadObjects ( $objects ) Batch-reload objects
runIndexRebuilders ( $rebuilderClasses, $objects )

Method Details

__construct() public méthode

public __construct ( $forceFullRebuild = false )

_checkCommentDeps() public méthode

public _checkCommentDeps ( )

buildPagedPosts() public méthode

public buildPagedPosts ( $gc_count )

finalize() public méthode

public finalize ( )

gcStageCache() public méthode

# only collects GBExposedContent stuff + comments
public gcStageCache ( )

reloadAndWriteCache() public méthode

public reloadAndWriteCache ( $objects )

reloadObjects() public méthode

Batch-reload objects
public reloadObjects ( $objects )

runIndexRebuilders() public méthode

public runIndexRebuilders ( $rebuilderClasses, $objects )

Property Details

$commentIndexRebuilders public_oe static_oe property

public static $commentIndexRebuilders

$comments public_oe static_oe property

.]
public static $comments

$dirtyComments public_oe static_oe property

.]
public static $dirtyComments

$dirtyObjects public_oe static_oe property

.]
public static $dirtyObjects

$duplicates public_oe static_oe property

.]
public static $duplicates

$newfound public_oe static_oe property

.]
public static $newfound

$objectIndexRebuilders public_oe static_oe property

public static $objectIndexRebuilders

$objects public_oe static_oe property

public static $objects

$objectsByName public_oe static_oe property

.]
public static $objectsByName