class RegionsConfiguration (View source)

Cache regions configuration

Methods

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

No description

int
getDefaultLifetime()

No description

setDefaultLifetime(int $defaultLifetime)

No description

int
getDefaultLockLifetime()

No description

setDefaultLockLifetime(int $defaultLockLifetime)

No description

int
getLifetime(string $regionName)

No description

setLifetime(string $name, int $lifetime)

No description

int
getLockLifetime(string $regionName)

No description

setLockLifetime(string $name, int $lifetime)

No description

Details

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

Parameters

int $defaultLifetime
int $defaultLockLifetime

int getDefaultLifetime()

Return Value

int

setDefaultLifetime(int $defaultLifetime)

Parameters

int $defaultLifetime

int getDefaultLockLifetime()

Return Value

int

setDefaultLockLifetime(int $defaultLockLifetime)

Parameters

int $defaultLockLifetime

int getLifetime(string $regionName)

Parameters

string $regionName

Return Value

int

setLifetime(string $name, int $lifetime)

Parameters

string $name
int $lifetime

int getLockLifetime(string $regionName)

Parameters

string $regionName

Return Value

int

setLockLifetime(string $name, int $lifetime)

Parameters

string $name
int $lifetime