Module ncache.client.enum.ReadMode
Expand source code
from enum import Enum
class ReadMode(Enum):
"""
Enumeration that defines the read mode if item is not found in cache.
"""
NONE = 1
"""
Return None if item not found.
"""
READ_THRU = 2
"""
Look data source for item if not found.
"""
READ_THRU_FORCED = 3
"""
Forcefully look data source for item and update/add item in cache.
"""
Classes
class ReadMode (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
Enumeration that defines the read mode if item is not found in cache.
Expand source code
class ReadMode(Enum): """ Enumeration that defines the read mode if item is not found in cache. """ NONE = 1 """ Return None if item not found. """ READ_THRU = 2 """ Look data source for item if not found. """ READ_THRU_FORCED = 3 """ Forcefully look data source for item and update/add item in cache. """
Ancestors
- enum.Enum
Class variables
var NONE
-
Return None if item not found.
var READ_THRU
-
Look data source for item if not found.
var READ_THRU_FORCED
-
Forcefully look data source for item and update/add item in cache.