Contents

cacheGet

Description

Gets an object that is stored in the cache.

Usage Syntax

cacheGet(string id,[boolean throwWhenNotExist,[string cacheName]]): object

Return Information

Return Type
object

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.

Name Type Required Description
id string Yes name of the element to return
throwWhenNotExist boolean No define if the functions throws a exception when the element does not exist (default is false).
cacheName string No definition of the cache used by name, when not set the "default Object Cache" defined in Railo Administrator is used instead.

category Categories: