Class ServiceProfile
Configuration object for Service Profiles.
Property Summary
| Property | Description |
|---|
ID: String (read-only) | Returns the unique Service ID. |
cbCalls: Number (read-only) | Returns the maximum number of errors in an interval allowed by the circuit breaker. |
cbMillis: Number (read-only) | Returns the interval of the circuit breaker in milliseconds. |
rateLimitCalls: Number (read-only) | Returns the maximum number of calls in an interval allowed by the rate limiter. |
rateLimitMillis: Number (read-only) | Returns the interval of the rate limiter in milliseconds. |
timeoutMillis: Number (read-only) | Returns the service call timeout in milliseconds. |
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
| Method | Description |
|---|
| getCbCalls() | Returns the maximum number of errors in an interval allowed by the circuit breaker. |
| getCbMillis() | Returns the interval of the circuit breaker in milliseconds. |
| getID() | Returns the unique Service ID. |
| getRateLimitCalls() | Returns the maximum number of calls in an interval allowed by the rate limiter. |
| getRateLimitMillis() | Returns the interval of the rate limiter in milliseconds. |
| getTimeoutMillis() | Returns the service call timeout in milliseconds. |
Methods inherited from class ExtensibleObject
describe, getCustom
Methods inherited from class PersistentObject
getCreationDate, getLastModified, getUUID
Methods inherited from class Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Property Details
ID
- ID: String
(read-only)
Returns the unique Service ID.
cbCalls
- cbCalls: Number
(read-only)
Returns the maximum number of errors in an interval allowed by the circuit breaker.
cbMillis
- cbMillis: Number
(read-only)
Returns the interval of the circuit breaker in milliseconds.
rateLimitCalls
- rateLimitCalls: Number
(read-only)
Returns the maximum number of calls in an interval allowed by the rate limiter.
rateLimitMillis
- rateLimitMillis: Number
(read-only)
Returns the interval of the rate limiter in milliseconds.
timeoutMillis
- timeoutMillis: Number
(read-only)
Returns the service call timeout in milliseconds.
Method Details
getCbCalls()
- getCbCalls(): Number
Returns the maximum number of errors in an interval allowed by the circuit breaker.
Returns:
- Maximum number of errors in an interval allowed by the circuit breaker.
getCbMillis()
- getCbMillis(): Number
Returns the interval of the circuit breaker in milliseconds.
Returns:
- Circuit breaker interval in milliseconds.
getID()
- getID(): String
Returns the unique Service ID.
Returns:
getRateLimitCalls()
- getRateLimitCalls(): Number
Returns the maximum number of calls in an interval allowed by the rate limiter.
Returns:
- Maximum number of calls in an interval allowed by the rate limiter.
getRateLimitMillis()
- getRateLimitMillis(): Number
Returns the interval of the rate limiter in milliseconds.
Returns:
- Interval of the rate limiter in milliseconds.
getTimeoutMillis()
- getTimeoutMillis(): Number
Returns the service call timeout in milliseconds.
Returns:
- Service call timeout in milliseconds.