__construct()
__construct(\yrmcds\Client $client, integer $expire = 3600, integer $timeout = 6)
Constructor.
Inactive sessions will expire in $expire seconds.
If $timeout is 0, sessions will not be locked.
If $timeout > 0, starting a session may throw \yrmcds\TimeoutException if the client cannot acquire the lock within $timeout seconds.
Parameters
\yrmcds\Client | $client | Connection to session storage. |
integer | $expire | Session expiration time. |
integer | $timeout | Lock wait timeout seconds. |