IsDelayUpdates (Database - Java™)
Read-Write. Indicates whether updates to a server are delayed (batched) for better performance.
Defined in
Data type
boolean
Syntax
public boolean isDelayUpdates()
throws NotesException
public void setDelayUpdates(boolean delay)
throws NotesException
Legal values
- true delays server updates; this is the default
- false posts server updates immediately
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.