public class InvokeResult<R>
extends java.lang.Object
implements java.io.Serializable
invoke
call.Constructor and Description |
---|
InvokeResult(InvokeReply reply) |
Modifier and Type | Method and Description |
---|---|
java.util.List<InvokeException> |
getErrors()
Returns the list of exceptions, that occured on workers and were dispatched back to the invocation origin point.
|
int |
getNumFailed()
The number of objects which were not invoked on due to errors.
|
int |
getNumSuccessful()
The number of successfully processed objects.
|
R |
getResult()
Returns the object generated by merging all of the result objects of the individual evaluations together.
|
public InvokeResult(InvokeReply reply) throws StateServerException
StateServerException
public int getNumSuccessful()
public int getNumFailed()
getErrors()
to
get the detailed exception list.public java.util.List<InvokeException> getErrors()
InvokeException
s that occurred during the invoke
call.public R getResult()
null
in case of failed invocation.