|
GigaSpaces XAP 7.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.j_spaces.core.client.MetaDataEntry
org.openspaces.remoting.EventDrivenSpaceRemotingEntry
public class EventDrivenSpaceRemotingEntry
Default implementation of a remoting entry that acts both as a remote invocation and a remote result.
| Field Summary | |
|---|---|
Object[] |
arguments
|
Throwable |
ex
|
Integer |
instanceId
|
Boolean |
isInvocation
|
String |
lookupName
|
Object[] |
metaArguments
|
String |
methodName
|
Boolean |
oneWay
|
Object |
result
|
Integer |
routing
|
| Constructor Summary | |
|---|---|
EventDrivenSpaceRemotingEntry()
Constructs a new Async remoting entry. |
|
| Method Summary | |
|---|---|
static String[] |
__getSpaceIndexedFields()
|
EventDrivenSpaceRemotingEntry |
buildInvocation(String lookupName,
String methodName,
Object[] arguments)
|
EventDrivenSpaceRemotingEntry |
buildResult(Object result)
|
EventDrivenSpaceRemotingEntry |
buildResult(Throwable e)
|
EventDrivenSpaceRemotingEntry |
buildResultTemplate()
|
protected 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. |
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. |
void |
readExternal(ObjectInput in)
|
void |
setRouting(Object routing)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.j_spaces.core.client.MetaDataEntry |
|---|
__getEntryInfo, __setEntryInfo, _readExternal, _writeExternal, isFifo, isNOWriteLeaseMode, isTransient, makePersistent, makeTransient, setFifo, setNOWriteLeaseMode, setTransient |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Boolean isInvocation
public String lookupName
public String methodName
public Object[] arguments
public Object[] metaArguments
public Boolean oneWay
public Integer routing
public Object result
public Throwable ex
public Integer instanceId
| Constructor Detail |
|---|
public EventDrivenSpaceRemotingEntry()
| Method Detail |
|---|
public String getLookupName()
SpaceRemotingInvocation
getLookupName in interface SpaceRemotingInvocationpublic String getMethodName()
SpaceRemotingInvocation
getMethodName in interface SpaceRemotingInvocationpublic Object[] getArguments()
SpaceRemotingInvocation
getArguments in interface SpaceRemotingInvocationpublic Object[] getMetaArguments()
SpaceRemotingInvocation
getMetaArguments in interface SpaceRemotingInvocationpublic Integer getRouting()
SpaceRemotingInvocation
getRouting in interface SpaceRemotingInvocationgetRouting in interface SpaceRemotingResultpublic void setRouting(Object routing)
public 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 SpaceRemotingResultpublic Throwable getException()
SpaceRemotingResultnull
value means there was no exception.
getException in interface SpaceRemotingResultpublic Integer getInstanceId()
SpaceRemotingResult
getInstanceId in interface SpaceRemotingResultpublic static String[] __getSpaceIndexedFields()
public EventDrivenSpaceRemotingEntry buildInvocation(String lookupName,
String methodName,
Object[] arguments)
public EventDrivenSpaceRemotingEntry buildResultTemplate()
public EventDrivenSpaceRemotingEntry buildResult(Throwable e)
public EventDrivenSpaceRemotingEntry buildResult(Object result)
protected Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic String toString()
toString in class Object
|
GigaSpaces XAP 7.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||