GetTimeoutSecs method (DominoQuery - Java)

Returns the current value of the TimeoutSecs property, the maximum seconds a DQL query is allowed to run. Default is 300 (5 minutes).

Syntax

public int getTimeoutSecs () throws NotesException

Parameters

None

Returned value

int timeoutSecs

Usage

To change the value, use SetTimeoutSecs. 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.

Language cross-reference

TimeoutSec Property (NotesDominoQuery - LotusScript)