MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgDatabaseMySQL.Delay
TMsgDatabaseMySQL
Top 

Specifies a delay between retries for the database operation.

Delphi syntax:
property
Delay: Integer read FDelay write FDelay;

C++ syntax:
__property
int Delay = {read=FDelay, write=FDelay, nodefault};

Description
Set Delay to specify the time of delay in milliseconds to achieve the best performance of the multi-user work.
The value of Delay property is used in calling of Sleep, the operating system (OS) function. Setting Delay to zero force the OS searching for another thread in a queue to switch in.

Note: You can set RetryCount property to specify the maximum number of retries for the database operations.



© AidAim Software MsgCommunicator: Delphi Messenger Sdk Instant Messaging Sdk Im Sdk