org.openspaces.remoting
Class ExecutorRemotingTask.InternalExecutorResult<T extends Serializable>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutorRemotingTask.InternalExecutorResult
public ExecutorRemotingTask.InternalExecutorResult()
ExecutorRemotingTask.InternalExecutorResult
public ExecutorRemotingTask.InternalExecutorResult(T result,
Integer instanceId)
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
Copyright © GigaSpaces.