public interface InverseServiceRequest extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Uid |
getRequestId() |
boolean |
isTimeoutDeadly()
Indicates whether encountering a timeout causes the entire
InverseInvoker to be marked dead. |
Uid getRequestId()
boolean isTimeoutDeadly()
InverseInvoker to be marked dead.
If this is true, the first TimeoutException thrown by
InverseInvoker.performInverseServiceRequest(InverseServiceRequest) causes the
InverseInvoker to be marked diedOfTimeout and all future requests will fail
immediately without waiting for the timeout again.
An implementation of InverseServiceRequest should return false, if it cannot
guarantee that handling this request will never exceed the timeout. If, however, it knows for sure
(really 100%!) that the timeout means the communication partner is dead (JVM crashed, shut down or whatever),
it should return true to prevent unnecessary waiting.
InverseInvoker out of order.Copyright © 2013–2017. All rights reserved.