Skip to content

/AWS1/CL_DOAUSAGEMETRIC

Represents a usage metric with its configured limit and current usage value.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_limit TYPE /AWS1/DOAINTEGER /AWS1/DOAINTEGER

Configured limit for this metric.

iv_usage TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

Current usage for this metric


Queryable Attributes

limit

Configured limit for this metric.

Accessible with the following methods

Method Description
GET_LIMIT() Getter for LIMIT, with configurable default
ASK_LIMIT() Getter for LIMIT w/ exceptions if field has no value
HAS_LIMIT() Determine if LIMIT has a value

usage

Current usage for this metric

Accessible with the following methods

Method Description
GET_USAGE() Getter for USAGE, with configurable default
ASK_USAGE() Getter for USAGE w/ exceptions if field has no value
STR_USAGE() String format for USAGE, with configurable default
HAS_USAGE() Determine if USAGE has a value