class RegionsConfiguration (View source)

Cache regions configuration

Methods

__construct(integer $defaultLifetime = 3600, integer $defaultLockLifetime = 60)

No description

integer
getDefaultLifetime()

No description

setDefaultLifetime(integer $defaultLifetime)

No description

integer
getDefaultLockLifetime()

No description

setDefaultLockLifetime(integer $defaultLockLifetime)

No description

integer
getLifetime(string $regionName)

No description

setLifetime(string $name, integer $lifetime)

No description

integer
getLockLifetime(string $regionName)

No description

setLockLifetime(string $name, integer $lifetime)

No description

Details

__construct(integer $defaultLifetime = 3600, integer $defaultLockLifetime = 60)

Parameters

integer $defaultLifetime
integer $defaultLockLifetime

integer getDefaultLifetime()

Return Value

integer

setDefaultLifetime(integer $defaultLifetime)

Parameters

integer $defaultLifetime

integer getDefaultLockLifetime()

Return Value

integer

setDefaultLockLifetime(integer $defaultLockLifetime)

Parameters

integer $defaultLockLifetime

integer getLifetime(string $regionName)

Parameters

string $regionName

Return Value

integer

setLifetime(string $name, integer $lifetime)

Parameters

string $name
integer $lifetime

integer getLockLifetime(string $regionName)

Parameters

string $regionName

Return Value

integer

setLockLifetime(string $name, integer $lifetime)

Parameters

string $name
integer $lifetime