Skip to content

/AWS1/CL_BDOLIMITENTRY

A single rule entry within a rate limit that maps dimension values to rate configurations. Each entry defines the rate limits for a specific combination of dimension values.

CONSTRUCTOR

IMPORTING

Required arguments:

it_dimensions TYPE /AWS1/CL_BDODIMENSIONS_W=>TT_DIMENSIONS TT_DIMENSIONS

A map of dimension names to dimension values for this rule entry. Keys must match the parent rate limit's dimension keys. Values may use * as a wildcard, but only in trailing positions based on the dimension keys ordering.

Optional arguments:

it_requests TYPE /AWS1/CL_BDORATECONFIG=>TT_RATECONFIGS TT_RATECONFIGS

The request rate limit configuration. Specifies the maximum number of requests allowed per time period.

it_tokens TYPE /AWS1/CL_BDORATECONFIG=>TT_RATECONFIGS TT_RATECONFIGS

The token rate limit configuration. Specifies the maximum number of tokens allowed per time period.

it_connections TYPE /AWS1/CL_BDORATECONFIG=>TT_RATECONFIGS TT_RATECONFIGS

The connection rate limit configuration. Specifies the maximum number of concurrent connections allowed.


Queryable Attributes

dimensions

A map of dimension names to dimension values for this rule entry. Keys must match the parent rate limit's dimension keys. Values may use * as a wildcard, but only in trailing positions based on the dimension keys ordering.

Accessible with the following methods

Method Description
GET_DIMENSIONS() Getter for DIMENSIONS, with configurable default
ASK_DIMENSIONS() Getter for DIMENSIONS w/ exceptions if field has no value
HAS_DIMENSIONS() Determine if DIMENSIONS has a value

requests

The request rate limit configuration. Specifies the maximum number of requests allowed per time period.

Accessible with the following methods

Method Description
GET_REQUESTS() Getter for REQUESTS, with configurable default
ASK_REQUESTS() Getter for REQUESTS w/ exceptions if field has no value
HAS_REQUESTS() Determine if REQUESTS has a value

tokens

The token rate limit configuration. Specifies the maximum number of tokens allowed per time period.

Accessible with the following methods

Method Description
GET_TOKENS() Getter for TOKENS, with configurable default
ASK_TOKENS() Getter for TOKENS w/ exceptions if field has no value
HAS_TOKENS() Determine if TOKENS has a value

connections

The connection rate limit configuration. Specifies the maximum number of concurrent connections allowed.

Accessible with the following methods

Method Description
GET_CONNECTIONS() Getter for CONNECTIONS, with configurable default
ASK_CONNECTIONS() Getter for CONNECTIONS w/ exceptions if field has no value
HAS_CONNECTIONS() Determine if CONNECTIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LIMITENTRIES

TYPES TT_LIMITENTRIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDOLIMITENTRY WITH DEFAULT KEY
.