CacheEventDescriptor

CacheEventDescriptor

Instance of this class holds the link to the registered delegate Keep it safe and use it to unregister the registered delegate when required. The bool IsRegistered returns false when the discriptor has been consumed to unregister the delegate. Then this instance can then be disposed of. Upon re-registering for the interested event, a new discriptor will be created.


Constructor

# new CacheEventDescriptor()

Methods

# getCacheName() → {string}

Name of the cache registered against

Returns:
Type
string

# getDataFilter() → {EventDataFilter}

indicates that type of data that will be recieved along with notification

Returns:
Type
EventDataFilter

# getIsRegistered() → {boolean}

Returns true if the linked event delegate is registered, returns false when the descriptor has been consumed This property is ThreadSafe

Returns:
Type
boolean

# getRegisteredAgainst() → {string}

Event Types registered against. Can be ORed to check registeration types

Returns:
Type
string