Class ServiceProfile

Configuration object for Service Profiles.

PropertyDescription
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.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
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.

describe, getCustom

getCreationDate, getLastModified, getUUID

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

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.


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(): Number

Returns the interval of the circuit breaker in milliseconds.

Returns:

  • Circuit breaker interval in milliseconds.

getID(): String

Returns the unique Service ID.

Returns:

  • unique Service ID

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(): Number

Returns the interval of the rate limiter in milliseconds.

Returns:

  • Interval of the rate limiter in milliseconds.

getTimeoutMillis(): Number

Returns the service call timeout in milliseconds.

Returns:

  • Service call timeout in milliseconds.