Interface ListenerInvocation<T>
- Type Parameters:
T
- The type of event to listen to
- All Known Subinterfaces:
CacheEntryListenerInvocation<K,
V>
- All Known Implementing Classes:
AbstractListenerImpl.ListenerInvocationImpl
,CacheNotifierImpl.BaseCacheEntryListenerInvocation
,CacheNotifierImpl.ClusteredListenerInvocation
,DelegatingCacheEntryListenerInvocation
public interface ListenerInvocation<T>
Defines simple listener invocation.
- Since:
- 7.0
- Author:
- wburns
-
Method Summary
-
Method Details
-
invoke
Invokes the event- Parameters:
event
-- Returns:
- null if event was ignored or already complete otherwise the event will be completely notified when the provided stage is completed
-
getTarget
Object getTarget()The listener instance that is notified of events
-