/AWS1/CL_APMWEIGHTEDTARGET¶
An object that represents a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. The total weight for all targets combined must be less than or equal to 100.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_virtualnode TYPE /AWS1/APMRESOURCENAME /AWS1/APMRESOURCENAME¶
The virtual node to associate with the weighted target.
iv_weight TYPE /AWS1/APMPERCENTINT /AWS1/APMPERCENTINT¶
The relative weight of the weighted target.
Optional arguments:¶
iv_port TYPE /AWS1/APMLISTENERPORT /AWS1/APMLISTENERPORT¶
The targeted port of the weighted object.
Queryable Attributes¶
virtualNode¶
The virtual node to associate with the weighted target.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VIRTUALNODE() |
Getter for VIRTUALNODE, with configurable default |
ASK_VIRTUALNODE() |
Getter for VIRTUALNODE w/ exceptions if field has no value |
HAS_VIRTUALNODE() |
Determine if VIRTUALNODE has a value |
weight¶
The relative weight of the weighted target.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_WEIGHT() |
Getter for WEIGHT |
port¶
The targeted port of the weighted object.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PORT() |
Getter for PORT, with configurable default |
ASK_PORT() |
Getter for PORT w/ exceptions if field has no value |
HAS_PORT() |
Determine if PORT 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_WEIGHTEDTARGETS¶
TYPES TT_WEIGHTEDTARGETS TYPE STANDARD TABLE OF REF TO /AWS1/CL_APMWEIGHTEDTARGET WITH DEFAULT KEY
.