Метод | Описание | |
---|---|---|
provideMutexFactories ( ) : callable[][] | Provides Mutex factories. | |
testLiveness ( callable $mutexFactory ) | Tests that locks will be released automatically. | |
testRelease ( callable $mutexFactory ) | Tests that synchronized() released the lock. | |
testSynchronizedDelegates ( callable $mutexFactory ) | Tests synchronized() executes the code and returns its result. | |
testSynchronizedPassesExceptionThrough ( callable $mutexFactory ) | Tests synchronized() rethrows the exception of the code. |
public provideMutexFactories ( ) : callable[][] | ||
Результат | callable[][] | The mutex factories. |
public testLiveness ( callable $mutexFactory ) | ||
$mutexFactory | callable | The Mutex factory. |
public testRelease ( callable $mutexFactory ) | ||
$mutexFactory | callable | The Mutex factory. |
public testSynchronizedDelegates ( callable $mutexFactory ) | ||
$mutexFactory | callable | The Mutex factory. |
public testSynchronizedPassesExceptionThrough ( callable $mutexFactory ) | ||
$mutexFactory | callable | The Mutex factory. |