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_NONE
           
static NotifyActionType NOTIFY_TAKE
           
static NotifyActionType NOTIFY_UPDATE
           
static NotifyActionType NOTIFY_WRITE
           
 
Method Summary
static NotifyActionType fromModifier(int modifier)
           
 int getModifier()
           
 boolean isLeaseExpiration()
           
 boolean isTake()
           
 boolean isUpdate()
           
 boolean isWrite()
           
 NotifyActionType or(NotifyActionType type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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_ALL

public static final NotifyActionType NOTIFY_ALL
Method Detail

fromModifier

public static NotifyActionType fromModifier(int modifier)

getModifier

public int getModifier()

or

public NotifyActionType or(NotifyActionType type)

isUpdate

public boolean isUpdate()

isWrite

public boolean isWrite()

isTake

public boolean isTake()

isLeaseExpiration

public boolean isLeaseExpiration()