com.gigaspaces.events
Class NotifyActionType
java.lang.Object
com.gigaspaces.events.NotifyActionType
public class NotifyActionType
- extends Object
An enum that specify a single notify action type such as write or update
and can also be used to composite a complex action type such as write OR update
NotifyActionType updateOrWrite = NotifyActionType.NOTIFY_UPDATE.or(NotifyActionType.NOTIFY_WRITE);
- Since:
- 6.0
NOTIFY_NONE
public static final NotifyActionType NOTIFY_NONE
NOTIFY_UPDATE
public static final NotifyActionType NOTIFY_UPDATE
NOTIFY_WRITE
public static final NotifyActionType NOTIFY_WRITE
NOTIFY_TAKE
public static final NotifyActionType NOTIFY_TAKE
NOTIFY_LEASE_EXPIRATION
public static final NotifyActionType NOTIFY_LEASE_EXPIRATION
NOTIFY_UNMATCHED
public static final NotifyActionType NOTIFY_UNMATCHED
NOTIFY_ALL
public static final NotifyActionType NOTIFY_ALL
NOTIFY_MATCH_BY_ID
public static final NotifyActionType NOTIFY_MATCH_BY_ID
- if true match is done by UID only when UID is provided.
fromModifier
public static NotifyActionType fromModifier(int modifier)
setModifier
protected void setModifier(int modifier)
getModifier
public int getModifier()
or
public NotifyActionType or(NotifyActionType type)
toString
public String toString()
- Overrides:
toString
in class Object
isUpdate
public boolean isUpdate()
isOverride
public boolean isOverride()
isWrite
public boolean isWrite()
isTake
public boolean isTake()
isMatchByID
public boolean isMatchByID()
isLeaseExpiration
public boolean isLeaseExpiration()
Copyright © GigaSpaces.