public class EntryArrivedRemoteEvent extends SpaceRemoteEvent implements Cloneable, LRMIMethodTrackingIdProvider
| Modifier and Type | Field and Description |
|---|---|
protected IJSpace |
_spaceProxy |
protected String |
_templateUID |
EMPTY_STRINGeventID, handback, seqNum, source| Constructor and Description |
|---|
EntryArrivedRemoteEvent()
Empty constructor.
|
EntryArrivedRemoteEvent(IJSpace source,
long eventID,
long seqNum,
MarshalledObject handback,
IEntryPacket entryPacket,
IEntryPacket oldEntryPacket,
NotifyActionType notifyType,
boolean fromReplication,
String templateUID,
QueryResultTypeInternal resultType)
/** This constructor is reserved for internal usage only.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Returns a shallow copy of this EntryArrivedRemoteEvent instance.
|
IEntryPacket |
getEntryPacket()
Returns an internal GigaSpaces structure to send/receive entries from the space.
|
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.
|
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
|
boolean |
isFromReplication() |
protected void |
readExternal(ObjectInput in,
PlatformLogicalVersion version)
Reserved for internal usage.
|
void |
setSpaceProxy(IJSpace spaceProxy) |
protected void |
setSpaceProxyUuid(Uuid spaceProxyUuid) |
String |
toString() |
protected void |
writeExternal(ObjectOutput out,
PlatformLogicalVersion version)
Reserved for internal usage.
|
readExternal, writeExternalgetID, getSequenceNumberequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferenceprotected String _templateUID
protected transient IJSpace _spaceProxy
public EntryArrivedRemoteEvent()
public EntryArrivedRemoteEvent(IJSpace source, long eventID, long seqNum, MarshalledObject handback, IEntryPacket entryPacket, IEntryPacket oldEntryPacket, NotifyActionType notifyType, boolean fromReplication, String templateUID, QueryResultTypeInternal resultType)
public IEntryPacket getEntryPacket()
EntryPacketpublic Object getSource()
getSource in class EventObjectpublic OperationID getOperationID()
public Uuid getSpaceUuid()
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()
protected void setSpaceProxyUuid(Uuid spaceProxyUuid)
public String getTemplateUID()
public String toString()
toString in class EventObjectpublic boolean isFromReplication()
public String getKey()
protected void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
SpaceRemoteEventwriteExternal in class SpaceRemoteEventIOExceptionprotected void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
SpaceRemoteEventreadExternal in class SpaceRemoteEventIOExceptionClassNotFoundExceptionpublic String getLRMIMethodTrackingId()
getLRMIMethodTrackingId in interface LRMIMethodTrackingIdProviderCopyright © GigaSpaces.