Skip to content

UTIL_Cache.Status

Class

apex
global enum UTIL_Cache.Status

Operation status enumeration

Since: 1.0


Values

ValueDescription
global CACHE_MISSCache miss (one or more keys not found, but operation was successful)
global CACHE_UNAVAILABLECache partition not available or not configured
global READ_FAILURERead operation failed due to exception
global READ_SUCCESSRead operation succeeded (all requested keys found)
global REMOVE_FAILURERemove operation failed due to exception
global REMOVE_SUCCESSRemove operation succeeded
global WRITE_FAILUREWrite operation failed due to exception
global WRITE_SUCCESSWrite operation succeeded

Value Details

CACHE_MISS

apex
global CACHE_MISS

Cache miss (one or more keys not found, but operation was successful)

CACHE_UNAVAILABLE

apex
global CACHE_UNAVAILABLE

Cache partition not available or not configured

READ_FAILURE

apex
global READ_FAILURE

Read operation failed due to exception

READ_SUCCESS

apex
global READ_SUCCESS

Read operation succeeded (all requested keys found)

REMOVE_FAILURE

apex
global REMOVE_FAILURE

Remove operation failed due to exception

REMOVE_SUCCESS

apex
global REMOVE_SUCCESS

Remove operation succeeded

WRITE_FAILURE

apex
global WRITE_FAILURE

Write operation failed due to exception

WRITE_SUCCESS

apex
global WRITE_SUCCESS

Write operation succeeded