Script: Class dw.svc.ServiceProfile

Class ServiceProfile

Configuration object for Service Profiles.

Properties

cbCalls : Number Read Only

The maximum number of errors in an interval allowed by the circuit breaker.

cbMillis : Number Read Only

The interval of the circuit breaker in milliseconds.

ID : String Read Only

The unique Service ID.

rateLimitCalls : Number Read Only

The maximum number of calls in an interval allowed by the rate limiter.

rateLimitMillis : Number Read Only

The interval of the rate limiter in milliseconds.

timeoutMillis : Number Read Only

The service call timeout in milliseconds.

Constructor Summary

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

Method Summary

getCbCalls() : Number

Returns the maximum number of errors in an interval allowed by the circuit breaker.

getCbMillis() : Number

Returns the interval of the circuit breaker in milliseconds.

getID() : String

Returns the unique Service ID.

getRateLimitCalls() : Number

Returns the maximum number of calls in an interval allowed by the rate limiter.

getRateLimitMillis() : Number

Returns the interval of the rate limiter in milliseconds.

getTimeoutMillis() : Number

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

Method Detail

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:

unique Service ID


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.