GigaSpaces XAP 9.1 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 isMatchedUpdate()
          Should this listener be notified when matched templates events occur.
 Boolean isRematchedUpdate()
          Should this listener be notified when re-matched templates events occur.
 Boolean isTake()
          Should this listener be notified on take operations.
 Boolean isUnmatched()
          Should this listener be notified when unmatched templates 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.


isUnmatched

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


isMatchedUpdate

Boolean isMatchedUpdate()
Should this listener be notified when matched templates events occur. null will leave the flag unchanged.

Since:
9.1

isRematchedUpdate

Boolean isRematchedUpdate()
Should this listener be notified when re-matched templates events occur. null will leave the flag unchanged.

Since:
9.1

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.