public class RetryingRegistrationConfiguration extends Object
Constructor and Description |
---|
RetryingRegistrationConfiguration(long initialRegistrationTimeoutMillis,
long maxRegistrationTimeoutMillis,
long errorDelayMillis,
long refusedDelayMillis) |
Modifier and Type | Method and Description |
---|---|
static RetryingRegistrationConfiguration |
defaultConfiguration() |
static RetryingRegistrationConfiguration |
fromConfiguration(Configuration configuration) |
long |
getErrorDelayMillis() |
long |
getInitialRegistrationTimeoutMillis() |
long |
getMaxRegistrationTimeoutMillis() |
long |
getRefusedDelayMillis() |
public RetryingRegistrationConfiguration(long initialRegistrationTimeoutMillis, long maxRegistrationTimeoutMillis, long errorDelayMillis, long refusedDelayMillis)
public long getInitialRegistrationTimeoutMillis()
public long getMaxRegistrationTimeoutMillis()
public long getErrorDelayMillis()
public long getRefusedDelayMillis()
public static RetryingRegistrationConfiguration fromConfiguration(Configuration configuration)
public static RetryingRegistrationConfiguration defaultConfiguration()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.