GigaSpaces XAP 9.7.2 API

com.gigaspaces.events.batching
Class BatchRemoteEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.jini.core.event.RemoteEvent
          extended by com.gigaspaces.events.SpaceRemoteEvent
              extended by com.j_spaces.core.client.EntryArrivedRemoteEvent
                  extended by com.gigaspaces.events.batching.BatchRemoteEvent
All Implemented Interfaces:
com.gigaspaces.lrmi.nio.LRMIMethodTrackingIdProvider, Externalizable, Serializable, Cloneable

public class BatchRemoteEvent
extends EntryArrivedRemoteEvent

Received on BatchRemoteEventListener.notifyBatch(BatchRemoteEvent) when a batch of events that matches the pending templates registration.

Since:
6.6
Author:
Assy
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.j_spaces.core.client.EntryArrivedRemoteEvent
_spaceProxy, _templateUID
 
Fields inherited from class com.gigaspaces.events.SpaceRemoteEvent
EMPTY_STRING
 
Fields inherited from class net.jini.core.event.RemoteEvent
eventID, handback, seqNum, source
 
Constructor Summary
BatchRemoteEvent()
           
BatchRemoteEvent(RemoteEvent[] events)
           
 
Method Summary
 RemoteEvent[] getEvents()
           
 String getLRMIMethodTrackingId()
           
protected  void readExternal(ObjectInput in, com.gigaspaces.internal.version.PlatformLogicalVersion version)
          Reserved for internal usage.
 void setSpaceProxy(IJSpace spaceProxy)
          Used internally to set the proxy for all the events
protected  void writeExternal(ObjectOutput out, com.gigaspaces.internal.version.PlatformLogicalVersion version)
          Reserved for internal usage.
 
Methods inherited from class com.j_spaces.core.client.EntryArrivedRemoteEvent
clone, getEntryPacket, getKey, getNotifyActionType, getNotifyType, getObject, getOperationID, getRegistrationObject, getSource, getSpaceUuid, getTemplateUID, isFromReplication, setSpaceProxyUuid, toString
 
Methods inherited from class com.gigaspaces.events.SpaceRemoteEvent
readExternal, writeExternal
 
Methods inherited from class net.jini.core.event.RemoteEvent
getID, getSequenceNumber
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchRemoteEvent

public BatchRemoteEvent()

BatchRemoteEvent

public BatchRemoteEvent(RemoteEvent[] events)
Method Detail

getEvents

public RemoteEvent[] getEvents()
Returns:
an array of remote events

setSpaceProxy

public void setSpaceProxy(IJSpace spaceProxy)
Used internally to set the proxy for all the events

Overrides:
setSpaceProxy in class EntryArrivedRemoteEvent

writeExternal

protected void writeExternal(ObjectOutput out,
                             com.gigaspaces.internal.version.PlatformLogicalVersion version)
                      throws IOException
Description copied from class: SpaceRemoteEvent
Reserved for internal usage.

Overrides:
writeExternal in class EntryArrivedRemoteEvent
Throws:
IOException

readExternal

protected void readExternal(ObjectInput in,
                            com.gigaspaces.internal.version.PlatformLogicalVersion version)
                     throws IOException,
                            ClassNotFoundException
Description copied from class: SpaceRemoteEvent
Reserved for internal usage.

Overrides:
readExternal in class EntryArrivedRemoteEvent
Throws:
IOException
ClassNotFoundException

getLRMIMethodTrackingId

public String getLRMIMethodTrackingId()
Specified by:
getLRMIMethodTrackingId in interface com.gigaspaces.lrmi.nio.LRMIMethodTrackingIdProvider
Overrides:
getLRMIMethodTrackingId in class EntryArrivedRemoteEvent

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.