|
GigaSpaces XAP 9.7.2 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
@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 SpaceRemotingEntry
public String getLookupName()
SpaceRemotingInvocation
getLookupName
in interface SpaceRemotingInvocation
public void setLookupName(String lookupName)
setLookupName
in interface SpaceRemotingEntry
public String getMethodName()
SpaceRemotingInvocation
getMethodName
in interface SpaceRemotingInvocation
protected void setMethodName(String methodName)
public Object[] getArguments()
SpaceRemotingInvocation
getArguments
in interface SpaceRemotingInvocation
protected void setArguments(Object[] arguments)
public Object[] getMetaArguments()
SpaceRemotingInvocation
getMetaArguments
in interface SpaceRemotingInvocation
public void setMetaArguments(Object[] metaArguments)
setMetaArguments
in interface SpaceRemotingEntry
public Boolean getOneWay()
getOneWay
in interface SpaceRemotingEntry
public void setOneWay(Boolean oneWay)
setOneWay
in interface SpaceRemotingEntry
public Integer getRouting()
SpaceRemotingInvocation
getRouting
in interface SpaceRemotingInvocation
getRouting
in interface SpaceRemotingResult
public void setRouting(Object routing)
setRouting
in interface SpaceRemotingEntry
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
protected void setResult(Object result)
public Throwable getException()
SpaceRemotingResult
null
value means there was no exception.
getException
in interface SpaceRemotingResult
protected void setException(Throwable exception)
public Integer getInstanceId()
SpaceRemotingResult
getInstanceId
in interface SpaceRemotingResult
public void setInstanceId(Integer instanceId)
setInstanceId
in interface SpaceRemotingEntry
public static String[] __getSpaceIndexedFields()
public SpaceRemotingEntry buildInvocation(String lookupName, String methodName, Object[] arguments)
public SpaceRemotingEntry buildResultTemplate()
buildResultTemplate
in interface SpaceRemotingEntry
public SpaceRemotingEntry buildResult(Throwable e)
buildResult
in interface SpaceRemotingEntry
public SpaceRemotingEntry buildResult(Object result)
buildResult
in interface SpaceRemotingEntry
public Object clone() throws CloneNotSupportedException
clone
in interface SpaceRemotingEntry
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 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |