|
GigaSpaces XAP 7.0 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.SyncSpaceRemotingEntry
public class SyncSpaceRemotingEntry
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
|
String |
lookupName
|
Object[] |
metaArguments
|
String |
methodName
|
Boolean |
oneWay
|
Object |
result
|
Integer |
routing
|
net.jini.core.transaction.Transaction |
transaction
|
Long |
uid
|
| Constructor Summary | |
|---|---|
SyncSpaceRemotingEntry()
|
|
| Method Summary | |
|---|---|
static String[] |
__getSpaceIndexedFields()
|
SyncSpaceRemotingEntry |
buildInvocation(String lookupName,
String methodName,
Object[] arguments)
|
SyncSpaceRemotingEntry |
buildResult(Object result)
|
SyncSpaceRemotingEntry |
buildResult(Throwable e)
|
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 |
setRouting(Object routing)
|
String |
toString()
|
| 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 Long uid
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
public net.jini.core.transaction.Transaction transaction
| Constructor Detail |
|---|
public SyncSpaceRemotingEntry()
| 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 SyncSpaceRemotingEntry buildInvocation(String lookupName,
String methodName,
Object[] arguments)
public SyncSpaceRemotingEntry buildResult(Throwable e)
public SyncSpaceRemotingEntry buildResult(Object result)
protected Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic String toString()
toString in class Object
|
GigaSpaces XAP 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||