GigaSpaces XAP 8.0 API

org.openspaces.remoting
Class EventDrivenSpaceRemotingEntry

java.lang.Object
  extended by com.j_spaces.core.client.MetaDataEntry
      extended by org.openspaces.remoting.EventDrivenSpaceRemotingEntry
All Implemented Interfaces:
IReplicatable, Externalizable, Serializable, Cloneable, Entry, SpaceRemotingEntry, SpaceRemotingInvocation, SpaceRemotingResult
Direct Known Subclasses:
HashedEventDrivenSpaceRemotingEntry

Deprecated.

@Deprecated
public class EventDrivenSpaceRemotingEntry
extends com.j_spaces.core.client.MetaDataEntry
implements SpaceRemotingEntry, Externalizable, IReplicatable

Default implementation of a remoting entry that acts both as a remote invocation and a remote result.

Author:
kimchy
See Also:
Serialized Form

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

isInvocation

public Boolean isInvocation
Deprecated. 

lookupName

public String lookupName
Deprecated. 

methodName

public String methodName
Deprecated. 

arguments

public Object[] arguments
Deprecated. 

metaArguments

public Object[] metaArguments
Deprecated. 

oneWay

public Boolean oneWay
Deprecated. 

routing

public Integer routing
Deprecated. 

result

public Object result
Deprecated. 

ex

public Throwable ex
Deprecated. 

instanceId

public Integer instanceId
Deprecated. 
Constructor Detail

EventDrivenSpaceRemotingEntry

public EventDrivenSpaceRemotingEntry()
Deprecated. 
Constructs a new Async remoting entry. By default a transient one witn that does not return a lease. Also, by default, this is an invocation entry.

Method Detail

setInvocation

public void setInvocation(Boolean invocation)
Deprecated. 
Specified by:
setInvocation in interface SpaceRemotingEntry

getLookupName

public String getLookupName()
Deprecated. 
Description copied from interface: SpaceRemotingInvocation
The lookup name of the service. Usually the actual interface class name that is proxied on the client side and implemented on the server side.

Specified by:
getLookupName in interface SpaceRemotingInvocation

setLookupName

public void setLookupName(String lookupName)
Deprecated. 
Specified by:
setLookupName in interface SpaceRemotingEntry

getMethodName

public String getMethodName()
Deprecated. 
Description copied from interface: SpaceRemotingInvocation
The method name of the service that will be executed.

Specified by:
getMethodName in interface SpaceRemotingInvocation

setMethodName

protected void setMethodName(String methodName)
Deprecated. 

getArguments

public Object[] getArguments()
Deprecated. 
Description copied from interface: SpaceRemotingInvocation
The arguments for the service method execution.

Specified by:
getArguments in interface SpaceRemotingInvocation

setArguments

protected void setArguments(Object[] arguments)
Deprecated. 

getMetaArguments

public Object[] getMetaArguments()
Deprecated. 
Description copied from interface: SpaceRemotingInvocation
Meta arguments that can be passed as part of the invocation. This arguments are not used to invoke the method, but can be used to control ceratin pluggable invocation "aspects".

Specified by:
getMetaArguments in interface SpaceRemotingInvocation

setMetaArguments

public void setMetaArguments(Object[] metaArguments)
Deprecated. 
Specified by:
setMetaArguments in interface SpaceRemotingEntry

getOneWay

public Boolean getOneWay()
Deprecated. 
Specified by:
getOneWay in interface SpaceRemotingEntry

setOneWay

public void setOneWay(Boolean oneWay)
Deprecated. 
Specified by:
setOneWay in interface SpaceRemotingEntry

getRouting

public Integer getRouting()
Deprecated. 
Description copied from interface: SpaceRemotingInvocation
Routing field controls the partition the invocation will be directed to when working with a partitioned space.

Specified by:
getRouting in interface SpaceRemotingInvocation
Specified by:
getRouting in interface SpaceRemotingResult

setRouting

public void setRouting(Object routing)
Deprecated. 
Specified by:
setRouting in interface SpaceRemotingEntry

getResult

public Object getResult()
Deprecated. 
Description copied from interface: SpaceRemotingResult
The result of the remote invocation. Note, null value might mean that remote service returned null/void, but it also might means that there might be an SpaceRemotingResult.getException().

Specified by:
getResult in interface SpaceRemotingResult

setResult

protected void setResult(Object result)
Deprecated. 

getException

public Throwable getException()
Deprecated. 
Description copied from interface: SpaceRemotingResult
An exception that occured during the remote invocation. null value means there was no exception.

Specified by:
getException in interface SpaceRemotingResult

setException

protected void setException(Throwable exception)
Deprecated. 

getInstanceId

public Integer getInstanceId()
Deprecated. 
Description copied from interface: SpaceRemotingResult
The cluster instance id this result was executed on.

Specified by:
getInstanceId in interface SpaceRemotingResult

setInstanceId

public void setInstanceId(Integer instanceId)
Deprecated. 
Specified by:
setInstanceId in interface SpaceRemotingEntry

__getSpaceIndexedFields

public static String[] __getSpaceIndexedFields()
Deprecated. 

buildInvocation

public SpaceRemotingEntry buildInvocation(String lookupName,
                                          String methodName,
                                          Object[] arguments)
Deprecated. 

buildResultTemplate

public SpaceRemotingEntry buildResultTemplate()
Deprecated. 
Specified by:
buildResultTemplate in interface SpaceRemotingEntry

buildResult

public SpaceRemotingEntry buildResult(Throwable e)
Deprecated. 
Specified by:
buildResult in interface SpaceRemotingEntry

buildResult

public SpaceRemotingEntry buildResult(Object result)
Deprecated. 
Specified by:
buildResult in interface SpaceRemotingEntry

clone

public Object clone()
             throws CloneNotSupportedException
Deprecated. 
Specified by:
clone in interface SpaceRemotingEntry
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Deprecated. 
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Deprecated. 
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.