GigaSpaces XAP 10.0.1 API

com.gigaspaces.events
Class NotifyActionType

java.lang.Object
  extended by 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

Field Summary
static NotifyActionType NOTIFY_ALL
          Deprecated. since 9.6 - register using specific modifiers instead.
static NotifyActionType NOTIFY_LEASE_EXPIRATION
           
static NotifyActionType NOTIFY_MATCH_BY_ID
          if true match is done by UID only when UID is provided.
static NotifyActionType NOTIFY_MATCHED_UPDATE
           
static NotifyActionType NOTIFY_NONE
           
static NotifyActionType NOTIFY_REMATCHED_UPDATE
           
static NotifyActionType NOTIFY_TAKE
           
static NotifyActionType NOTIFY_UNMATCHED
           
static NotifyActionType NOTIFY_UPDATE
           
static NotifyActionType NOTIFY_WRITE
           
static NotifyActionType NOTIFY_WRITE_OR_UPDATE
           
 
Method Summary
static NotifyActionType fromModifier(int modifier)
           
 int getModifier()
           
 boolean isLeaseExpiration()
           
 boolean isMatchByID()
           
 boolean isMatchedUpdate()
           
 boolean isRematchedUpdate()
           
 boolean isTake()
           
 boolean isUnmatched()
           
 boolean isUpdate()
           
 boolean isWrite()
           
 NotifyActionType or(NotifyActionType type)
           
protected  void setModifier(int modifier)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Method Detail

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()

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.