|
GigaSpaces XAP 10.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
@Deprecated public class EventDrivenSpaceRemotingEntry
Default implementation of a remoting entry that acts both as a remote invocation and a remote result.
| Field Summary | |
|---|---|
Object[] |
arguments
Deprecated. |
Throwable |
ex
Deprecated. |
Integer |
instanceId
Deprecated. |
Boolean |
isInvocation
Deprecated. |
String |
lookupName
Deprecated. |
Object[] |
metaArguments
Deprecated. |
String |
methodName
Deprecated. |
Boolean |
oneWay
Deprecated. |
Object |
result
Deprecated. |
Integer |
routing
Deprecated. |
| Constructor Summary | |
|---|---|
EventDrivenSpaceRemotingEntry()
Deprecated. Constructs a new Async remoting entry. |
|
| Method Summary | |
|---|---|
static String[] |
__getSpaceIndexedFields()
Deprecated. |
SpaceRemotingEntry |
buildInvocation(String lookupName,
String methodName,
Object[] arguments)
Deprecated. |
SpaceRemotingEntry |
buildResult(Object result)
Deprecated. |
SpaceRemotingEntry |
buildResult(Throwable e)
Deprecated. |
SpaceRemotingEntry |
buildResultTemplate()
Deprecated. |
Object |
clone()
Deprecated. |
Object[] |
getArguments()
Deprecated. The arguments for the service method execution. |
Throwable |
getException()
Deprecated. An exception that occured during the remote invocation. |
Integer |
getInstanceId()
Deprecated. The cluster instance id this result was executed on. |
String |
getLookupName()
Deprecated. The lookup name of the service. |
Object[] |
getMetaArguments()
Deprecated. Meta arguments that can be passed as part of the invocation. |
String |
getMethodName()
Deprecated. The method name of the service that will be executed. |
Boolean |
getOneWay()
Deprecated. |
Object |
getResult()
Deprecated. The result of the remote invocation. |
Integer |
getRouting()
Deprecated. Routing field controls the partition the invocation will be directed to when working with a partitioned space. |
void |
readExternal(ObjectInput in)
Deprecated. |
protected void |
setArguments(Object[] arguments)
Deprecated. |
protected void |
setException(Throwable exception)
Deprecated. |
void |
setInstanceId(Integer instanceId)
Deprecated. |
void |
setInvocation(Boolean invocation)
Deprecated. |
void |
setLookupName(String lookupName)
Deprecated. |
void |
setMetaArguments(Object[] metaArguments)
Deprecated. |
protected void |
setMethodName(String methodName)
Deprecated. |
void |
setOneWay(Boolean oneWay)
Deprecated. |
protected void |
setResult(Object result)
Deprecated. |
void |
setRouting(Object routing)
Deprecated. |
String |
toString()
Deprecated. |
void |
writeExternal(ObjectOutput out)
Deprecated. |
| 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 |
| Methods inherited from interface org.openspaces.remoting.SpaceRemotingEntry |
|---|
setFifo |
| 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 void setInvocation(Boolean invocation)
setInvocation in interface SpaceRemotingEntrypublic String getLookupName()
SpaceRemotingInvocation
getLookupName in interface SpaceRemotingInvocationpublic void setLookupName(String lookupName)
setLookupName in interface SpaceRemotingEntrypublic String getMethodName()
SpaceRemotingInvocation
getMethodName in interface SpaceRemotingInvocationprotected void setMethodName(String methodName)
public Object[] getArguments()
SpaceRemotingInvocation
getArguments in interface SpaceRemotingInvocationprotected void setArguments(Object[] arguments)
public Object[] getMetaArguments()
SpaceRemotingInvocation
getMetaArguments 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()
SpaceRemotingInvocation
getRouting in interface SpaceRemotingInvocationgetRouting in interface SpaceRemotingResultpublic 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()
SpaceRemotingResult
getInstanceId in interface SpaceRemotingResultpublic void setInstanceId(Integer instanceId)
setInstanceId in interface SpaceRemotingEntrypublic static String[] __getSpaceIndexedFields()
public 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 SpaceRemotingEntry
public Object clone()
throws CloneNotSupportedException
clone in interface SpaceRemotingEntryclone 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 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||