|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 SpaceRemotingInvocation
public String getMethodName()
SpaceRemotingInvocation
getMethodName
in interface SpaceRemotingInvocation
public Object[] getArguments()
SpaceRemotingInvocation
getArguments
in interface SpaceRemotingInvocation
public Object[] getMetaArguments()
SpaceRemotingInvocation
getMetaArguments
in interface SpaceRemotingInvocation
public Integer getRouting()
SpaceRemotingInvocation
getRouting
in interface SpaceRemotingInvocation
getRouting
in interface SpaceRemotingResult
public void setRouting(Object routing)
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
public Throwable getException()
SpaceRemotingResult
null
value means there was no exception.
getException
in interface SpaceRemotingResult
public Integer getInstanceId()
SpaceRemotingResult
getInstanceId
in interface SpaceRemotingResult
public 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 Object
CloneNotSupportedException
public 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 |