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, isEnqueuedpublic WeakBatchRemoteEventListener(BatchRemoteEventListener listener)
public void notify(RemoteEvent event) throws UnknownEventException, RemoteException
notify in interface RemoteEventListenerevent - the remote event that occurredUnknownEventException - the recipient does not recognize the combination of event
identifier and event sourceRemoteExceptionpublic void notifyBatch(BatchRemoteEvent theEvents) throws UnknownEventException, RemoteException
notifyBatch in interface BatchRemoteEventListenerUnknownEventExceptionRemoteExceptionCopyright © GigaSpaces.