public interface SpaceRemotingResult<T>
In order to correctly handle results, first check getException() for possible
exception during the remote invocation. If a null value is returned, check the
actual result using getResult().
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
An exception that occured during the remote invocation.
|
Integer |
getInstanceId()
The cluster instance id this result was executed on.
|
T |
getResult()
The result of the remote invocation.
|
Object |
getRouting()
Returns the routing index for the given result in cases where the remote invocation was
directed to a specific cluster instance.
|
Object getRouting()
T getResult()
null value might mean that remote
service returned null/void, but it also might means that there might be an getException().Throwable getException()
null value means there
was no exception.Integer getInstanceId()
Copyright © GigaSpaces.