Class TimeoutsProvider
java.lang.Object
org.apache.sling.testing.clients.util.TimeoutsProvider
Deprecated.
Return timeout values that can be multiplied by a configurable
factor. Useful to cope with slower integration testing systems:
use timeout constants in your code that work for usual development
systems, and set a multiplier when running on a slower system.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeoutsProvider
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
-
Field Details
-
PROP_TIMEOUT_MULTIPLIER
Deprecated.- See Also:
-
-
Method Details
-
getInstance
Deprecated. -
getTimeout
public long getTimeout(long nomimalValue) Deprecated. -
getTimeout
public int getTimeout(int nomimalValue) Deprecated. -
getTimeout
Deprecated.Get timeout from a system property, with default value- Parameters:
systemPropertyName
- Name of the system property that holds the timeout multiplierdefaultNominalValue
- The default timeout multiplier- Returns:
- the total timeout value
-
TimeoutsProvider
. This will be removed in the future, so switch to the other one instead