TimeoutsProvider
. This will be removed in the future, so switch to
the other one instead@Deprecated public class TimeoutsProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_TIMEOUT_MULTIPLIER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TimeoutsProvider |
getInstance()
Deprecated.
|
int |
getTimeout(int nomimalValue)
Deprecated.
|
long |
getTimeout(long nomimalValue)
Deprecated.
|
int |
getTimeout(String systemPropertyName,
int defaultNominalValue)
Deprecated.
Get timeout from a system property, with default value
|
public static final String PROP_TIMEOUT_MULTIPLIER
public static TimeoutsProvider getInstance()
public long getTimeout(long nomimalValue)
public int getTimeout(int nomimalValue)
public int getTimeout(String systemPropertyName, int defaultNominalValue)
systemPropertyName
- Name of the system property that holds the timeout multiplierdefaultNominalValue
- The default timeout multiplierCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.