public class EventDrivenSpaceRemotingEntry extends Object implements SpaceRemotingEntry, SmartExternalizable
Constructor and Description |
---|
EventDrivenSpaceRemotingEntry()
Constructs a new Async remoting entry.
|
Modifier and Type | Method and Description |
---|---|
SpaceRemotingEntry |
buildInvocation(String lookupName,
String methodName,
Object[] arguments) |
SpaceRemotingEntry |
buildResult(Object result) |
SpaceRemotingEntry |
buildResult(Throwable e) |
SpaceRemotingEntry |
buildResultTemplate() |
Object |
clone() |
Object[] |
getArguments()
The arguments for the service method execution.
|
Throwable |
getException()
An exception that occured during the remote invocation.
|
Integer |
getInstanceId()
The cluster instance id this result was executed on.
|
String |
getLookupName()
The lookup name of the service.
|
Object[] |
getMetaArguments()
Meta arguments that can be passed as part of the invocation.
|
String |
getMethodName()
The method name of the service that will be executed.
|
Boolean |
getOneWay() |
Object |
getResult()
The result of the remote invocation.
|
Integer |
getRouting()
Routing field controls the partition the invocation will be directed to when working with a
partitioned space.
|
String |
getUid() |
void |
readExternal(ObjectInput in) |
protected void |
setArguments(Object[] arguments) |
protected void |
setException(Throwable exception) |
void |
setInstanceId(Integer instanceId) |
void |
setInvocation(Boolean invocation) |
void |
setLookupName(String lookupName) |
void |
setMetaArguments(Object[] metaArguments) |
protected void |
setMethodName(String methodName) |
void |
setOneWay(Boolean oneWay) |
protected void |
setResult(Object result) |
void |
setRouting(Integer routing) |
void |
setRouting(Object routing) |
void |
setUid(String uid) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public EventDrivenSpaceRemotingEntry()
public String getUid()
public void setUid(String uid)
public void setInvocation(Boolean invocation)
setInvocation
in interface SpaceRemotingEntry
public String getLookupName()
SpaceRemotingInvocation
getLookupName
in interface SpaceRemotingInvocation
public void setLookupName(String lookupName)
setLookupName
in interface SpaceRemotingEntry
public String getMethodName()
SpaceRemotingInvocation
getMethodName
in interface SpaceRemotingInvocation
protected void setMethodName(String methodName)
public Object[] getArguments()
SpaceRemotingInvocation
getArguments
in interface SpaceRemotingInvocation
protected void setArguments(Object[] arguments)
public Object[] getMetaArguments()
SpaceRemotingInvocation
getMetaArguments
in interface SpaceRemotingInvocation
public void setMetaArguments(Object[] metaArguments)
setMetaArguments
in interface SpaceRemotingEntry
public Boolean getOneWay()
getOneWay
in interface SpaceRemotingEntry
public void setOneWay(Boolean oneWay)
setOneWay
in interface SpaceRemotingEntry
public Integer getRouting()
SpaceRemotingInvocation
getRouting
in interface SpaceRemotingInvocation
getRouting
in interface SpaceRemotingResult
public void setRouting(Integer routing)
public void setRouting(Object routing)
setRouting
in interface SpaceRemotingEntry
public Object getResult()
SpaceRemotingResult
null
value might mean that remote
service returned null/void, but it also might means that there might be an SpaceRemotingResult.getException()
.getResult
in interface SpaceRemotingResult
protected void setResult(Object result)
public Throwable getException()
SpaceRemotingResult
null
value means there
was no exception.getException
in interface SpaceRemotingResult
protected void setException(Throwable exception)
public Integer getInstanceId()
SpaceRemotingResult
getInstanceId
in interface SpaceRemotingResult
public void setInstanceId(Integer instanceId)
setInstanceId
in interface SpaceRemotingEntry
public SpaceRemotingEntry buildInvocation(String lookupName, String methodName, Object[] arguments)
public SpaceRemotingEntry buildResultTemplate()
buildResultTemplate
in interface SpaceRemotingEntry
public SpaceRemotingEntry buildResult(Throwable e)
buildResult
in interface SpaceRemotingEntry
public SpaceRemotingEntry buildResult(Object result)
buildResult
in interface SpaceRemotingEntry
public Object clone() throws CloneNotSupportedException
clone
in interface SpaceRemotingEntry
clone
in class Object
CloneNotSupportedException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.