GigaSpaces XAP 9.7.2 API

org.openspaces.remoting
Class ExecutorRemotingTask.InternalExecutorResult<T extends Serializable>

java.lang.Object
  extended by org.openspaces.remoting.ExecutorRemotingTask.InternalExecutorResult<T>
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
ExecutorRemotingTask<T extends Serializable>

public static class ExecutorRemotingTask.InternalExecutorResult<T extends Serializable>
extends Object
implements Externalizable

A wrapper executor result that holds more information on the exception, such as the instance id.

See Also:
Serialized Form

Constructor Summary
ExecutorRemotingTask.InternalExecutorResult()
           
ExecutorRemotingTask.InternalExecutorResult(T result, Integer instanceId)
           
 
Method Summary
 int getInstanceId()
           
 T getResult()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorRemotingTask.InternalExecutorResult

public ExecutorRemotingTask.InternalExecutorResult()

ExecutorRemotingTask.InternalExecutorResult

public ExecutorRemotingTask.InternalExecutorResult(T result,
                                                   Integer instanceId)
Method Detail

getResult

public T getResult()

getInstanceId

public int getInstanceId()

writeExternal

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

readExternal

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.