public enum ClientSqlResubmissionMode extends Enum<ClientSqlResubmissionMode>
SqlErrorCode.CONNECTION_PROBLEMSqlErrorCode.PARTITION_DISTRIBUTIONSqlErrorCode.TOPOLOGY_CHANGE| Enum Constant and Description | 
|---|
NEVER
If a query fails, the failure is immediately forwarded to the caller. 
 | 
RETRY_ALL
All queries will be retried after a failure. 
 | 
RETRY_SELECTS
The query will be retried if:
 
   no rows were received yet
   the SQL text starts with `SELECT` (case-insensitive, ignoring white space)
  
 | 
RETRY_SELECTS_ALLOW_DUPLICATES
The query will be retried if the SQL text starts with `SELECT` (case-insensitive, ignoring white space). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ClientSqlResubmissionMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ClientSqlResubmissionMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ClientSqlResubmissionMode NEVER
public static final ClientSqlResubmissionMode RETRY_SELECTS
public static final ClientSqlResubmissionMode RETRY_SELECTS_ALLOW_DUPLICATES
public static final ClientSqlResubmissionMode RETRY_ALL
public static ClientSqlResubmissionMode[] values()
for (ClientSqlResubmissionMode c : ClientSqlResubmissionMode.values()) System.out.println(c);
public static ClientSqlResubmissionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022 Hazelcast, Inc.. All rights reserved.