Module ncache.client.enum.DataTypeEventDataFilter

Expand source code
from enum import Enum


class DataTypeEventDataFilter(Enum):
    """
    This enum is to describe when registering a collection event, upon raise how much data is retrieved from cache when
    the event is raised. Only one value can be set.
    """
    NONE = 1
    """
    This specifies that no data or meta data is required when an event notification is raised.
    """
    DATA = 2
    """
    This specifies that item of collection is required when an event notification is raised.
    """

Classes

class DataTypeEventDataFilter (value, names=None, *, module=None, qualname=None, type=None, start=1)

This enum is to describe when registering a collection event, upon raise how much data is retrieved from cache when the event is raised. Only one value can be set.

Expand source code
class DataTypeEventDataFilter(Enum):
    """
    This enum is to describe when registering a collection event, upon raise how much data is retrieved from cache when
    the event is raised. Only one value can be set.
    """
    NONE = 1
    """
    This specifies that no data or meta data is required when an event notification is raised.
    """
    DATA = 2
    """
    This specifies that item of collection is required when an event notification is raised.
    """

Ancestors

  • enum.Enum

Class variables

var DATA

This specifies that item of collection is required when an event notification is raised.

var NONE

This specifies that no data or meta data is required when an event notification is raised.