|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.jini.core.event.RemoteEvent
com.gigaspaces.events.SpaceRemoteEvent
com.j_spaces.core.client.EntryArrivedRemoteEvent
public class EntryArrivedRemoteEvent
An EntryArrivedRemoteEvent is sent to a NotifyDelegator object when an entry that matches the delegator's template enters a GigaSpace.
NotifyDelegator,
Serialized Form| Field Summary | |
|---|---|
protected IJSpace |
_spaceProxy
keep the local ref, incase the notify delegator listener was constructed as listener. |
protected String |
_templateUID
multicast TemplateID, not for serialized stream. |
| 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 | |
|---|---|
EntryArrivedRemoteEvent()
Empty constructor. |
|
EntryArrivedRemoteEvent(IJSpace source,
long eventID,
long seqNum,
MarshalledObject handback,
com.gigaspaces.internal.transport.IEntryPacket entryPacket,
NotifyActionType notifyType,
boolean fromReplication,
String templateUID,
com.gigaspaces.internal.client.QueryResultTypeInternal resultType)
This constructor is reserved for internal usage only. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a shallow copy of this EntryArrivedRemoteEvent instance. |
Entry |
getEntry()
Deprecated. use getObject() instead. |
Entry |
getEntry(boolean getExternalEntry)
Deprecated. use getObject() or getExternalEntry() instead. |
com.gigaspaces.internal.transport.IEntryPacket |
getEntryPacket()
Returns an internal GigaSpaces structure to send/receive entries from the space. |
ExternalEntry |
getExternalEntry()
Deprecated. Since 8.0.1 - ExternalEntry is deprecated since 8.0. |
String |
getKey()
|
String |
getLRMIMethodTrackingId()
|
NotifyActionType |
getNotifyActionType()
Returns a notify type of this event. |
int |
getNotifyType()
Deprecated. since 9.1 use getNotifyActionType() instead. |
Object |
getObject()
Returns the entry by specification of user. |
com.j_spaces.core.OperationID |
getOperationID()
|
MarshalledObject |
getRegistrationObject()
Returns the handback object that was provided as a parameter to the event interest registration method, if any. |
Object |
getSource()
The space on which the Event initially occurred. |
Uuid |
getSpaceUuid()
Returns the unique uid of the space the event originated from. |
String |
getTemplateUID()
returns multicast templateID, TODO remote this support after support TemplateID == NotifySpaceUID |
protected boolean |
isAcceptableByFilter(String filterID)
|
boolean |
isFromReplication()
|
protected void |
readExternal(ObjectInput in,
com.gigaspaces.internal.version.PlatformLogicalVersion version)
Reserved for internal usage. |
void |
setSpaceProxy(IJSpace spaceProxy)
|
protected void |
setSpaceProxyUuid(Uuid spaceProxyUuid)
|
String |
toString()
|
protected void |
writeExternal(ObjectOutput out,
com.gigaspaces.internal.version.PlatformLogicalVersion version)
Reserved for internal usage. |
| 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 |
| Field Detail |
|---|
protected String _templateUID
protected transient IJSpace _spaceProxy
| Constructor Detail |
|---|
public EntryArrivedRemoteEvent()
public EntryArrivedRemoteEvent(IJSpace source,
long eventID,
long seqNum,
MarshalledObject handback,
com.gigaspaces.internal.transport.IEntryPacket entryPacket,
NotifyActionType notifyType,
boolean fromReplication,
String templateUID,
com.gigaspaces.internal.client.QueryResultTypeInternal resultType)
| Method Detail |
|---|
public com.gigaspaces.internal.transport.IEntryPacket getEntryPacket()
EntryPacketpublic Object getSource()
getSource in class EventObjectpublic com.j_spaces.core.OperationID getOperationID()
public Uuid getSpaceUuid()
@Deprecated
public ExternalEntry getExternalEntry()
throws UnusableEntryException
UnusableEntryException - One or more fields in the entry cannot be
deserialized, or the class for the entry type
itself cannot be deserialized.
@Deprecated
public Entry getEntry(boolean getExternalEntry)
throws UnusableEntryException
getObject() or getExternalEntry() instead.
getExternalEntry - if true this method will return ExternalEntry, otherwise Entry Object.
UnusableEntryException - One or more fields in the entry cannot be
deserialized, or the class for the entry type
itself cannot be deserialized.
@Deprecated
public Entry getEntry()
throws UnusableEntryException
getObject() instead.
UnusableEntryException - This exception is no longer thrown.
public Object getObject()
throws UnusableEntryException
UnusableEntryException - This exception is no longer thrown.@Deprecated public int getNotifyType()
getNotifyActionType() instead.
public NotifyActionType getNotifyActionType()
public MarshalledObject getRegistrationObject()
getRegistrationObject in class RemoteEventpublic void setSpaceProxy(IJSpace spaceProxy)
public Object clone()
clone in class Objectprotected void setSpaceProxyUuid(Uuid spaceProxyUuid)
protected boolean isAcceptableByFilter(String filterID)
false.public String getTemplateUID()
public String toString()
toString in class EventObjectpublic boolean isFromReplication()
public String getKey()
protected void writeExternal(ObjectOutput out,
com.gigaspaces.internal.version.PlatformLogicalVersion version)
throws IOException
SpaceRemoteEvent
writeExternal in class SpaceRemoteEventIOException
protected void readExternal(ObjectInput in,
com.gigaspaces.internal.version.PlatformLogicalVersion version)
throws IOException,
ClassNotFoundException
SpaceRemoteEvent
readExternal in class SpaceRemoteEventIOException
ClassNotFoundExceptionpublic String getLRMIMethodTrackingId()
getLRMIMethodTrackingId in interface com.gigaspaces.lrmi.nio.LRMIMethodTrackingIdProvider
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||