public class TimeoutsProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_TIMEOUT_MULTIPLIER |
Modifier and Type | Method and Description |
---|---|
static TimeoutsProvider |
getInstance() |
int |
getTimeout(int nomimalValue) |
long |
getTimeout(long nomimalValue) |
int |
getTimeout(String systemPropertyName,
int defaultNominalValue)
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)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.