Module ncache.client.enum.WriteMode
Expand source code
from enum import Enum
class WriteMode(Enum):
"""
Enumeration that defines the update operation on cache can update data source.
"""
NONE = 1
"""
Does not update data source.
"""
WRITE_THRU = 2
"""
Updates data source synchronously.
"""
WRITE_BEHIND = 3
"""
Updates data source asynchronously.
"""
Classes
class WriteMode (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
Enumeration that defines the update operation on cache can update data source.
Expand source code
class WriteMode(Enum): """ Enumeration that defines the update operation on cache can update data source. """ NONE = 1 """ Does not update data source. """ WRITE_THRU = 2 """ Updates data source synchronously. """ WRITE_BEHIND = 3 """ Updates data source asynchronously. """
Ancestors
- enum.Enum
Class variables
var NONE
-
Does not update data source.
var WRITE_BEHIND
-
Updates data source asynchronously.
var WRITE_THRU
-
Updates data source synchronously.