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, waitenabledSmartExternalizableWithReferencepublic EventDrivenSpaceRemotingEntry()
public String getUid()
public void setUid(String uid)
public void setInvocation(Boolean invocation)
setInvocation in interface SpaceRemotingEntrypublic String getLookupName()
SpaceRemotingInvocationgetLookupName in interface SpaceRemotingInvocationpublic void setLookupName(String lookupName)
setLookupName in interface SpaceRemotingEntrypublic String getMethodName()
SpaceRemotingInvocationgetMethodName in interface SpaceRemotingInvocationprotected void setMethodName(String methodName)
public Object[] getArguments()
SpaceRemotingInvocationgetArguments in interface SpaceRemotingInvocationprotected void setArguments(Object[] arguments)
public Object[] getMetaArguments()
SpaceRemotingInvocationgetMetaArguments in interface SpaceRemotingInvocationpublic void setMetaArguments(Object[] metaArguments)
setMetaArguments in interface SpaceRemotingEntrypublic Boolean getOneWay()
getOneWay in interface SpaceRemotingEntrypublic void setOneWay(Boolean oneWay)
setOneWay in interface SpaceRemotingEntrypublic Integer getRouting()
SpaceRemotingInvocationgetRouting in interface SpaceRemotingInvocationgetRouting in interface SpaceRemotingResultpublic void setRouting(Integer routing)
public void setRouting(Object routing)
setRouting in interface SpaceRemotingEntrypublic Object getResult()
SpaceRemotingResultnull value might mean that remote
service returned null/void, but it also might means that there might be an SpaceRemotingResult.getException().getResult in interface SpaceRemotingResultprotected void setResult(Object result)
public Throwable getException()
SpaceRemotingResultnull value means there
was no exception.getException in interface SpaceRemotingResultprotected void setException(Throwable exception)
public Integer getInstanceId()
SpaceRemotingResultgetInstanceId in interface SpaceRemotingResultpublic void setInstanceId(Integer instanceId)
setInstanceId in interface SpaceRemotingEntrypublic SpaceRemotingEntry buildInvocation(String lookupName, String methodName, Object[] arguments)
public SpaceRemotingEntry buildResultTemplate()
buildResultTemplate in interface SpaceRemotingEntrypublic SpaceRemotingEntry buildResult(Throwable e)
buildResult in interface SpaceRemotingEntrypublic SpaceRemotingEntry buildResult(Object result)
buildResult in interface SpaceRemotingEntrypublic Object clone() throws CloneNotSupportedException
clone in interface SpaceRemotingEntryclone in class ObjectCloneNotSupportedExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.