PHP Class PHPDaemon\Examples\MongoNode

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Core\AppInstance
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

Свойство Type Description
$LockClient MemcacheClient
$cache MongoClient
$cursor LockClient
$db
$timer Tailable cursor

Protected Properties

Свойство Type Description
$inited

Méthodes publiques

Méthode Description
cacheObject ( $o ) : void Method called when object received.
deleteObject ( $o ) : void Method called when object deleted.
init ( ) : void Constructor.
initSlave ( MongoTimestamp $point ) : void Initializes slave session.
onReady ( ) : void Called when the worker is ready to go.
touchCursor ( )

Méthodes protégées

Méthode Description
getConfigDefaults ( ) : array | false Setting default config options Overriden from AppInstance::getConfigDefaults

Method Details

cacheObject() public méthode

Method called when object received.
public cacheObject ( $o ) : void
Résultat void

deleteObject() public méthode

Method called when object deleted.
public deleteObject ( $o ) : void
Résultat void

getConfigDefaults() protected méthode

Setting default config options Overriden from AppInstance::getConfigDefaults
protected getConfigDefaults ( ) : array | false
Résultat array | false

init() public méthode

Constructor.
public init ( ) : void
Résultat void

initSlave() public méthode

Initializes slave session.
public initSlave ( MongoTimestamp $point ) : void
$point MongoTimestamp
Résultat void

onReady() public méthode

Called when the worker is ready to go.
public onReady ( ) : void
Résultat void

touchCursor() public méthode

public touchCursor ( )

Property Details

$LockClient public_oe property

MemcacheClient
public $LockClient

$cache public_oe property

MongoClient
public $cache

$cursor public_oe property

LockClient
public $cursor

$db public_oe property

public $db

$inited protected_oe property

protected $inited

$timer public_oe property

Tailable cursor
public $timer