UTIL_Cache.Status
Class
apex
global enum UTIL_Cache.StatusOperation status enumeration
Since: 1.0
Values
| Value | Description |
|---|---|
| global CACHE_MISS | Cache miss (one or more keys not found, but operation was successful) |
| global CACHE_UNAVAILABLE | Cache partition not available or not configured |
| global READ_FAILURE | Read operation failed due to exception |
| global READ_SUCCESS | Read operation succeeded (all requested keys found) |
| global REMOVE_FAILURE | Remove operation failed due to exception |
| global REMOVE_SUCCESS | Remove operation succeeded |
| global WRITE_FAILURE | Write operation failed due to exception |
| global WRITE_SUCCESS | Write operation succeeded |
Value Details
CACHE_MISS
apex
global CACHE_MISSCache miss (one or more keys not found, but operation was successful)
CACHE_UNAVAILABLE
apex
global CACHE_UNAVAILABLECache partition not available or not configured
READ_FAILURE
apex
global READ_FAILURERead operation failed due to exception
READ_SUCCESS
apex
global READ_SUCCESSRead operation succeeded (all requested keys found)
REMOVE_FAILURE
apex
global REMOVE_FAILURERemove operation failed due to exception
REMOVE_SUCCESS
apex
global REMOVE_SUCCESSRemove operation succeeded
WRITE_FAILURE
apex
global WRITE_FAILUREWrite operation failed due to exception
WRITE_SUCCESS
apex
global WRITE_SUCCESSWrite operation succeeded