Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > dw.svc
dw.svc
Class ServiceProfile
Object
dw.object.PersistentObject
dw.object.ExtensibleObject
dw.svc.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
Methods inherited from class PersistentObject
Methods inherited from class Object
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.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.