SetTimeoutSecs method (DominoQuery - Java)

Sets a new value for the DominoQuery property TimeoutSecs, the maximum seconds a DQL query is allowed to run.

Syntax

void setTimeoutSec( int timeoutSecs ) throws NotesException

Parameters

int timeoutSecs

The maximum seconds a DQL query is allowed to run.

Returned value

None

Usage

Useful to limit or expand the resources consumed by a query, to either prevent runaway queries or allow long running queries when the impact of those queries would be minimal. To return current value, use GetTimeoutSecs.

Language cross-reference

TimeoutSec Property (NotesDominoQuery - LotusScript)