Module ncache.client.enum.CacheStatusNotificationType

Expand source code
from enum import Enum


class CacheStatusNotificationType(Enum):
    """
    NCache defines a CacheStatusNotificationType enum that specifies the type of events for which cache status changed
    notification is registered/unregistered.
    """
    MEMBER_JOINED = 1
    """
    User receives a notification whenever a node joins the cache.
    """
    MEMBER_LEFT = 2
    """
    User receives a notification whenever a node leaves the cache.
    """
    CACHE_STOPPED = 3
    """
    User receives a notification whenever the cache is stopped.
    """
    ALL = 4
    """
    User receives a notification whenever a node joins/leaves the cache and when the cache is stopped.
    """

Classes

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

NCache defines a CacheStatusNotificationType enum that specifies the type of events for which cache status changed notification is registered/unregistered.

Expand source code
class CacheStatusNotificationType(Enum):
    """
    NCache defines a CacheStatusNotificationType enum that specifies the type of events for which cache status changed
    notification is registered/unregistered.
    """
    MEMBER_JOINED = 1
    """
    User receives a notification whenever a node joins the cache.
    """
    MEMBER_LEFT = 2
    """
    User receives a notification whenever a node leaves the cache.
    """
    CACHE_STOPPED = 3
    """
    User receives a notification whenever the cache is stopped.
    """
    ALL = 4
    """
    User receives a notification whenever a node joins/leaves the cache and when the cache is stopped.
    """

Ancestors

  • enum.Enum

Class variables

var ALL

User receives a notification whenever a node joins/leaves the cache and when the cache is stopped.

var CACHE_STOPPED

User receives a notification whenever the cache is stopped.

var MEMBER_JOINED

User receives a notification whenever a node joins the cache.

var MEMBER_LEFT

User receives a notification whenever a node leaves the cache.