Skip to content

/AWS1/CL_BDORATECONFIG

Rate configuration for a metric (requests or tokens)

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rate TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.

iv_period TYPE /AWS1/BDOPERIOD /AWS1/BDOPERIOD

Time period for rate limiting


Queryable Attributes

rate

The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.

Accessible with the following methods

Method Description
GET_RATE() Getter for RATE, with configurable default
ASK_RATE() Getter for RATE w/ exceptions if field has no value
STR_RATE() String format for RATE, with configurable default
HAS_RATE() Determine if RATE has a value

period

Time period for rate limiting

Accessible with the following methods

Method Description
GET_PERIOD() Getter for PERIOD, with configurable default
ASK_PERIOD() Getter for PERIOD w/ exceptions if field has no value
HAS_PERIOD() Determine if PERIOD 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_RATECONFIGS

TYPES TT_RATECONFIGS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDORATECONFIG WITH DEFAULT KEY
.