GigaSpaces XAP 7.0 API

org.openspaces.events.notify
Interface NotifyTypeProvider

All Superinterfaces:
SpaceDataEventListener

public interface NotifyTypeProvider
extends SpaceDataEventListener

An extension of space event listener allowing the listener to control programmatically (without the user having to configure it within the notify container) which notifications this listener will be invoked on.

All markers return Boolean value. null means that it will have no affect on the flag appropriate flag.

Note, all flags will only take place if it is not overridden by the user when configuring the notify container. If the user has set, for example, the write notify flag, then this provider isWrite() will not be taken into account. This allows for advance users to further configure a "recommended" notifications types for a specific listener that implements this interface.

Author:
kimchy

Method Summary
 Boolean isLeaseExpire()
          Should this listener be notified on lease expiration operations.
 Boolean isTake()
          Should this listener be notified on take operations.
 Boolean isUnamtched()
          Should this listener be notified when unmatched tempaltes events occur.
 Boolean isUpdate()
          Should this listener be notified on update operations.
 Boolean isWrite()
          Should this listener be notified on write operations.
 
Methods inherited from interface org.openspaces.events.SpaceDataEventListener
onEvent
 

Method Detail

isWrite

Boolean isWrite()
Should this listener be notified on write operations. null will leave the flag un changed.


isUpdate

Boolean isUpdate()
Should this listener be notified on update operations. null will leave the flag un changed.


isLeaseExpire

Boolean isLeaseExpire()
Should this listener be notified on lease expiration operations. null will leave the flag un changed.


isTake

Boolean isTake()
Should this listener be notified on take operations. null will leave the flag un changed.


isUnamtched

Boolean isUnamtched()
Should this listener be notified when unmatched tempaltes events occur. null will leave the flag un changed.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.