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 = NOTIFY_UPDATE
.or(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_MATCHED_UPDATE
public static final NotifyActionType NOTIFY_MATCHED_UPDATE
NOTIFY_REMATCHED_UPDATE
public static final NotifyActionType NOTIFY_REMATCHED_UPDATE
NOTIFY_WRITE_OR_UPDATE
public static final NotifyActionType NOTIFY_WRITE_OR_UPDATE
NOTIFY_ALL
@Deprecated
public static final NotifyActionType NOTIFY_ALL
- Deprecated. since 9.6 - register using specific modifiers instead.
- Modifier which includes the
NOTIFY_WRITE
, NOTIFY_UPDATE
, NOTIFY_TAKE
and NOTIFY_LEASE_EXPIRATION
modifiers.
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()
isUnmatched
public boolean isUnmatched()
isMatchedUpdate
public boolean isMatchedUpdate()
isRematchedUpdate
public boolean isRematchedUpdate()
isWrite
public boolean isWrite()
isTake
public boolean isTake()
isMatchByID
public boolean isMatchByID()
isLeaseExpiration
public boolean isLeaseExpiration()
Copyright © GigaSpaces.