GigaSpaces XAP 7.0 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 = NotifyActionType.NOTIFY_UPDATE.or(NotifyActionType.NOTIFY_WRITE);

Since:
6.0

Field Summary
static NotifyActionType NOTIFY_ALL
           
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_NONE
           
static NotifyActionType NOTIFY_TAKE
           
static NotifyActionType NOTIFY_UNMATCHED
           
static NotifyActionType NOTIFY_UPDATE
           
static NotifyActionType NOTIFY_WRITE
           
 
Method Summary
static NotifyActionType fromModifier(int modifier)
           
 int getModifier()
           
 boolean isLeaseExpiration()
           
 boolean isMatchByID()
           
 boolean isOverride()
           
 boolean isTake()
           
 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_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.

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

isOverride

public boolean isOverride()

isWrite

public boolean isWrite()

isTake

public boolean isTake()

isMatchByID

public boolean isMatchByID()

isLeaseExpiration

public boolean isLeaseExpiration()

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.