QueryEntryPolicy
class QueryEntryPolicy(val http: QueryBudget = QueryBudget.HTTP_DEFAULT, val inProcess: QueryBudget? = null, val inProcessTimeout: Duration? = QueryBudget.DEFAULT_TIMEOUT)
The budget each QueryEntry runs under, which a gateway applies before admitting a query.
Constructors
Link copied to clipboard
constructor(http: QueryBudget = QueryBudget.HTTP_DEFAULT, inProcess: QueryBudget? = null, inProcessTimeout: Duration? = QueryBudget.DEFAULT_TIMEOUT)
Properties
Link copied to clipboard
the budget of QueryEntry.HTTP queries.
Link copied to clipboard
the budget of QueryEntry.IN_PROCESS queries; null, the default, checks nothing. A host gives it QueryBudget.IN_PROCESS_DEFAULT by default (wow.query.budgets.in-process.*), so in-process code is bounded as a request is.
Link copied to clipboard
the execution timeout of a query whose entry has no budget (QueryEntry.UNBOUNDED, or every in-process query when inProcess is null: every query has one); null runs such a query without one.
Functions
Link copied to clipboard
Link copied to clipboard
The execution timeout of entry's queries: its budget's, or inProcessTimeout for an entry without one.