mutex\PgsqlMutex init()

init() public method Initializes PgSQL specific mutex component implementation. public void init ( )throws yii\base\InvalidConfigException if $db is not PgSQL connection.

mutex\PgsqlMutex acquireLock()

acquireLock() protected method Acquires lock by given name. See also http://www.postgresql.org/docs/9.0/static/functions-admin.html. protected boolean acquireLock ( $name, $timeout = 0 )$name string Of the lock to be acquired. $timeout integer To wait for lock to become released. return boolean Acquiring result.

mutex\OracleMutex releaseLock()

releaseLock() protected method Releases lock by given name. See also http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_lock.htm. protected boolean releaseLock ( $name )$name string Of the lock to be released. return boolean Release result.

mutex\OracleMutex init()

init() public method Initializes Oracle specific mutex component implementation. public void init ( )throws yii\base\InvalidConfigException if $db is not Oracle connection.

mutex\OracleMutex acquireLock()

acquireLock() protected method Acquires lock by given name. See also http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_lock.htm. protected boolean acquireLock ( $name, $timeout = 0 )$name string Of the lock to be acquired. $timeout integer To wait for lock to become released. return boolean Acquiring result.

mutex\OracleMutex $releaseOnCommit

$releaseOnCommit public property Whether to release lock on commit. public boolean $releaseOnCommit = false

mutex\OracleMutex $lockMode

$lockMode public property Lock mode to be used. See also http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_lock.htm#CHDBCFDI. public string $lockMode = self::MODE_X

mutex\MysqlMutex releaseLock()

releaseLock() protected method Releases lock by given name. See also http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_release-lock. protected boolean releaseLock ( $name )$name string Of the lock to be released. return boolean Release result.

mutex\MysqlMutex init()

init() public method Initializes MySQL specific mutex component implementation. public void init ( )throws yii\base\InvalidConfigException if $db is not MySQL connection.

mutex\MysqlMutex acquireLock()

acquireLock() protected method Acquires lock by given name. See also http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock. protected boolean acquireLock ( $name, $timeout = 0 )$name string Of the lock to be acquired. $timeout integer To wait for lock to become released. return boolean Acquiring result.