Constants

twepoch

twepoch = 1474992000000

workerIdBits

workerIdBits = 10

sequenceBits

sequenceBits = 12

Properties

$_uniqueId

$_uniqueId : 

Type

$_conf

$_conf : 

Type

$_appConf

$_appConf : 

Type

$workId

$workId : 

Type

$lastTimestamp

$lastTimestamp : 

Type

$sequence

$sequence : 

Type

Methods

__construct()

__construct(  $conf = array()) 

Parameters

$conf

unInstallNow()

unInstallNow(  $isComplete = false) 

Parameters

$isComplete

getConfPack()

getConfPack() 

setUniqueId()

setUniqueId(  $name) 

Parameters

$name

getConf()

getConf() 

getAppConf()

getAppConf() 

triggerThrowable()

triggerThrowable(\Throwable  $e) 

Parameters

\Throwable $e

handleThrowable()

handleThrowable(\Throwable  $e) 

Parameters

\Throwable $e

nextId()

nextId() 

getComponent()

getComponent(  $haver,   $componentName,   $params = array()) 

Parameters

$haver
$componentName
$params

unInstall()

unInstall(  $isComplete = false) 

Parameters

$isComplete

getValueFromConf()

getValueFromConf(  $key,   $default = '') 

Parameters

$key
$default

init()

init() 

timeGen()

timeGen() 

tilNextMillis()

tilNextMillis(  $lastTimestamp) 

Parameters

$lastTimestamp