Class Mage_Index_Model_Process
Enter description here ...
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Index_Model_Process
Package: Mage\Index
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Index/Model/Process.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Index/Model/Process.php
protected
|
|
protected
|
#
_setEventNamespace(
Set indexer class name as data namespace for event object |
protected
|
|
public
|
|
public
boolean
|
|
public
boolean
|
#
matchEntityAndType( string $entity, string $type )
Check if specific entity and action type is matched |
public
|
|
public
|
#
reindexEverything( )
Reindex all data what this process responsible is Check and using depends processes |
public
|
|
public
|
|
public
|
#
indexEvents( null|string $entity = null, null|string $type = null )
Index pending events addressed to the process |
protected
|
#
_processEventsCollection(
Process all events of the collection |
public
|
#
updateEventStatus(
Update status process/event association |
protected
resource
|
|
public
|
|
public
|
#
lockAndBlock( )
Lock and block process. If new instance of the process will try validate locking state script will wait until process will be unlocked |
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
string |
XML_PATH_INDEXER_DATA
|
'global/index/indexer' |
|
string |
STATUS_RUNNING
|
'working' |
#
Process statuses |
string |
STATUS_PENDING
|
'pending' |
|
string |
STATUS_REQUIRE_REINDEX
|
'require_reindex' |
|
string |
EVENT_STATUS_NEW
|
'new' |
#
Process event statuses |
string |
EVENT_STATUS_DONE
|
'done' |
|
string |
EVENT_STATUS_ERROR
|
'error' |
|
string |
EVENT_STATUS_WORKING
|
'working' |
|
string |
MODE_MANUAL
|
'manual' |
#
Process modes Process mode allow disable automatic process events processing |
string |
MODE_REAL_TIME
|
'real_time' |
protected
|
$_indexer | null |
#
Indexer stategy object |
protected
mixed
|
$_isLocked | null |
#
Process lock properties |
protected
mixed
|
$_lockFile | null |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|