public final class Constants extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ALLOW_COLUMN_DROP
By default don't allow column drops.
|
static int |
DEFAULT_BLOB_BUFFER_SIZE
The default buffer size for blobs.
|
static int |
DEFAULT_CHECK_CONNECTION_TIMEOUT
The default timeout when checking if a connection is down.
|
static boolean |
DEFAULT_COMPRESS_LOBS
Indicates if the LOB columns should be compressed.
|
static boolean |
DEFAULT_DISABLE_LOB_CACHING
Indicates if LOB data caching should be disabled, to avoid consuming too much memory and/or disk space in the DB
server.
|
static int |
DEFAULT_FETCH_SIZE
The default fetch size.
|
static IsolationLevel |
DEFAULT_ISOLATION_LEVEL
The default isolation level.
|
static int |
DEFAULT_LOGIN_TIMEOUT
Default duration (in seconds) to wait for the database connection to be established.
|
static int |
DEFAULT_MAX_IDENTIFIER_SIZE
The default maximum identifier size.
|
static long |
DEFAULT_MAXIMUM_TIME_BATCH_SHUTDOWN
The default maximum amount of time to wait when batches are shutting down.
|
static boolean |
DEFAULT_RECONNECT_ON_LOST
By default reconnects on connection lost.
|
static long |
DEFAULT_RETRY_INTERVAL
The default retry interval.
|
static String |
DEFAULT_SCHEMA_POLICY
The default schema policy.
|
static String |
DEFAULT_SECRET_LOCATION
The default secret location.
|
static int |
DEFAULT_SELECT_QUERY_TIMEOUT
The default select query timeout (in seconds).
|
static int |
DEFAULT_SOCKET_TIMEOUT
The default socket connection timeout (in seconds).
|
static int |
DEFAULT_VARCHAR_SIZE
The default var char size.
|
static int |
NO_TIMEOUT
The value that represents absence of a timeout.
|
static Set<Class<? extends Throwable>> |
RETRYABLE_EXCEPTIONS
A set of PDB Exceptions that can be considered retryable (when these are thrown, it is possible that a client
application will be successfull if it performs again the same actions that resulted in the exception).
|
static String |
SQL_STATE_TRANSACTION_FAILURE
The SQL standard State code for "transaction failure".
|
static char |
UNIT_SEPARATOR_CHARACTER
The unit separator character.
|
| Constructor and Description |
|---|
Constants() |
public static final char UNIT_SEPARATOR_CHARACTER
public static final int NO_TIMEOUT
public static final int DEFAULT_VARCHAR_SIZE
public static final String DEFAULT_SCHEMA_POLICY
public static final int DEFAULT_MAX_IDENTIFIER_SIZE
public static final int DEFAULT_BLOB_BUFFER_SIZE
public static final long DEFAULT_RETRY_INTERVAL
public static final IsolationLevel DEFAULT_ISOLATION_LEVEL
public static final boolean DEFAULT_RECONNECT_ON_LOST
public static final String DEFAULT_SECRET_LOCATION
public static final boolean DEFAULT_ALLOW_COLUMN_DROP
public static final int DEFAULT_FETCH_SIZE
public static final long DEFAULT_MAXIMUM_TIME_BATCH_SHUTDOWN
public static final boolean DEFAULT_COMPRESS_LOBS
false.public static final boolean DEFAULT_DISABLE_LOB_CACHING
false.public static final int DEFAULT_LOGIN_TIMEOUT
public static final int DEFAULT_SOCKET_TIMEOUT
public static final int DEFAULT_SELECT_QUERY_TIMEOUT
public static final String SQL_STATE_TRANSACTION_FAILURE
public static final Set<Class<? extends Throwable>> RETRYABLE_EXCEPTIONS
public static final int DEFAULT_CHECK_CONNECTION_TIMEOUT
Copyright © 2021 Feedzai. All rights reserved.