public class CallStatus extends Object
Operation.call().
 Using the CallStatus the operation can control how the system will deal with
 the operation after it is executed. For example when the CallStatus is
 DONE_RESPONSE, a response can be send to the caller. But
 it also allows for different behavior where no response is available yet e.g.
 when an operation gets offloaded.
 | Modifier and Type | Field and Description | 
|---|---|
| static CallStatus | DONE_RESPONSESignals that the Operation is done running and that a response is ready
 to be returned. | 
| static int | DONE_RESPONSE_ORDINALThe ordinal value for a  DONE_RESPONSE. | 
| static CallStatus | DONE_VOIDSignals that the Operation is done running, but no response will be
 returned. | 
| static int | DONE_VOID_ORDINALThe ordinal value for a  DONE_VOID. | 
| static int | OFFLOAD_ORDINALThe ordinal value for an  Offload. | 
| static CallStatus | WAITIndicates that the call could not complete because waiting is required. | 
| static int | WAIT_ORDINALThe ordinal value for a  WAIT. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | CallStatus(int ordinal) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | ordinal()Returns the ordinal value (useful for doing a switch case based on the
 type of CallStatus). | 
public static final int DONE_RESPONSE_ORDINAL
DONE_RESPONSE.public static final int DONE_VOID_ORDINAL
DONE_VOID.public static final int WAIT_ORDINAL
WAIT.public static final int OFFLOAD_ORDINAL
Offload.public static final CallStatus DONE_RESPONSE
public static final CallStatus DONE_VOID
public static final CallStatus WAIT
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.