/AWS1/CL_ECSTIMEOUTCONF¶
An object that represents the timeout configurations for Service Connect.
If idleTimeout is set to a time that is less than
perRequestTimeout, the connection will close when the
idleTimeout is reached and not the
perRequestTimeout.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_idletimeoutseconds TYPE /AWS1/ECSDURATION /AWS1/ECSDURATION¶
The amount of time in seconds a connection will stay active while idle. A value of
0can be set to disableidleTimeout.The
idleTimeoutdefault forHTTP/HTTP2/GRPCis 5 minutes.The
idleTimeoutdefault forTCPis 1 hour.
iv_perrequesttimeoutseconds TYPE /AWS1/ECSDURATION /AWS1/ECSDURATION¶
The amount of time waiting for the upstream to respond with a complete response per request. A value of
0can be set to disableperRequestTimeout.perRequestTimeoutcan only be set if Service ConnectappProtocolisn'tTCP. OnlyidleTimeoutis allowed forTCPappProtocol.
Queryable Attributes¶
idleTimeoutSeconds¶
The amount of time in seconds a connection will stay active while idle. A value of
0can be set to disableidleTimeout.The
idleTimeoutdefault forHTTP/HTTP2/GRPCis 5 minutes.The
idleTimeoutdefault forTCPis 1 hour.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IDLETIMEOUTSECONDS() |
Getter for IDLETIMEOUTSECONDS, with configurable default |
ASK_IDLETIMEOUTSECONDS() |
Getter for IDLETIMEOUTSECONDS w/ exceptions if field has no |
HAS_IDLETIMEOUTSECONDS() |
Determine if IDLETIMEOUTSECONDS has a value |
perRequestTimeoutSeconds¶
The amount of time waiting for the upstream to respond with a complete response per request. A value of
0can be set to disableperRequestTimeout.perRequestTimeoutcan only be set if Service ConnectappProtocolisn'tTCP. OnlyidleTimeoutis allowed forTCPappProtocol.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERREQUESTTIMEOUTSECONDS() |
Getter for PERREQUESTTIMEOUTSECONDS, with configurable defau |
ASK_PERREQUESTTIMEOUTSECONDS() |
Getter for PERREQUESTTIMEOUTSECONDS w/ exceptions if field h |
HAS_PERREQUESTTIMEOUTSECONDS() |
Determine if PERREQUESTTIMEOUTSECONDS has a value |