|
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.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 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 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 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
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 |