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).

Defined in

DominoQuery

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)