ePages 7.23.0 - DE_EPAGES/Database/API/Constants.pm

Package DE_EPAGES::Database::API::Constants

Some constants

@EXPORT_OK
LONG_STATEMENT_TIME
NUMBER_OF_RETRIES
RETRY_WAITING_TIME
NO_SUCH_TABLE

Functions

NUMBER_OF_RETRIES
RETRY_WAITING_TIME

LONG_STATEMENT_TIME (integer)

time in seconds that need to run over for logging
long running queries.
This value is configurable in the epages.conf file, section
DE_EPAGES::Database, key LongStatementTime.
Used for Sybase databases only!

NUMBER_OF_RETRIES

Function to retrieve the number of retries. This value is configurable in the epages.conf file, section DE_EPAGES::Database, key NumberOfRetries.

Syntax
NUMBER_OF_RETRIES();
Example
NUMBER_OF_RETRIES();
Return
$NumberOfRetries (int)
How many times ePages should try to do a db action.

RETRY_WAITING_TIME

Function to retrieve the time to wait before retrying an action. This value is configurable in the epages.conf file, section DE_EPAGES::Database, key RetryWaitingTime.

Syntax
RETRY_WAITING_TIME();
Example
RETRY_WAITING_TIME();
Return
$RetryWaitingTime (int)
Waiting time in microseconds ePages waits before
retrying an action.