public class WeakBatchRemoteEventListener extends WeakReference<BatchRemoteEventListener> implements BatchRemoteEventListener
Constructor and Description |
---|
WeakBatchRemoteEventListener(BatchRemoteEventListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
notify(RemoteEvent event)
Delegate the notification to the listener.
|
void |
notifyBatch(BatchRemoteEvent theEvents) |
clear, enqueue, get, isEnqueued
public WeakBatchRemoteEventListener(BatchRemoteEventListener listener)
public void notify(RemoteEvent event) throws UnknownEventException, RemoteException
notify
in interface RemoteEventListener
event
- the remote event that occurredUnknownEventException
- the recipient does not recognize the combination of event
identifier and event sourceRemoteException
public void notifyBatch(BatchRemoteEvent theEvents) throws UnknownEventException, RemoteException
notifyBatch
in interface BatchRemoteEventListener
UnknownEventException
RemoteException
Copyright © GigaSpaces.