/AWS1/CL_BTCQUOTASHARERESHRC00¶
Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_strategy TYPE /AWS1/BTCQUOTASHARERESHRSTRAG /AWS1/BTCQUOTASHARERESHRSTRAG¶
The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.
Optional arguments:¶
iv_borrowlimit TYPE /AWS1/BTCINTEGER /AWS1/BTCINTEGER¶
The maximum percentage of additional capacity that the quota share can borrow from other shares.
borrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits.The
borrowLimitis applied uniformly across all capacity units. For example, if theborrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultborrowLimitis -1, which indicates unlimited borrowing.
Queryable Attributes¶
strategy¶
The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STRATEGY() |
Getter for STRATEGY, with configurable default |
ASK_STRATEGY() |
Getter for STRATEGY w/ exceptions if field has no value |
HAS_STRATEGY() |
Determine if STRATEGY has a value |
borrowLimit¶
The maximum percentage of additional capacity that the quota share can borrow from other shares.
borrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits.The
borrowLimitis applied uniformly across all capacity units. For example, if theborrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultborrowLimitis -1, which indicates unlimited borrowing.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BORROWLIMIT() |
Getter for BORROWLIMIT, with configurable default |
ASK_BORROWLIMIT() |
Getter for BORROWLIMIT w/ exceptions if field has no value |
HAS_BORROWLIMIT() |
Determine if BORROWLIMIT has a value |