Store.QueryOptions.setReuse()

Signature

void setReuse (Object queryOptions, boolean reuse)

Domain

ACTION

Description

Sets the query to be cached for reuse during subsequent calls.The caching is restricted to the containing transacted/nontransacted session. Will not be available across transactions.

Parameters

NameTypeDescription
queryOptionsObjectQuery option object
reusebooleanSets the query to be cached for reuse

Returns

TypeDescription
void

Cautions

none