JAVA/CORBA CLASSES


IsDelayUpdates property
Example

Read-Write. Indicates whether updates to a server are delayed (batched) for better performance.

Defined in

Database

Data type

boolean

Syntax

public boolean isDelayUpdates()
   throws NotesException

public void setDelayUpdates(boolean delay)
   throws NotesException

Legal values


Usage

If DelayUpdates is false, the program waits for updates to the server to be posted. If you set DelayUpdates to true, server updates are cached and the program proceeds immediately. At a convenient time, the cached updates are posted. This makes for better performance but risks losing the cached updates in the event of a crash. This method applies to save and remove operations on documents.

Set this property each time you open a database. The property is not saved.

The database must be open to use this property.

Language cross-reference

DelayUpdates property in LotusScript NotesDatabase class

Example
See Also