Package org.neo4j.configuration.helpers
Class DurationRange
java.lang.Object
org.neo4j.configuration.helpers.DurationRange
Duration Range derived from configuration.
This class wraps two durations, which are non-negative and maximum is not longer than minimum.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static DurationRange
fromSeconds
(int min, int max) getDelta()
getMax()
getMin()
int
hashCode()
static DurationRange
toString()
-
Constructor Details
-
DurationRange
-
-
Method Details
-
fromSeconds
-
parse
-
getMin
-
getMax
-
getDelta
- Returns:
- returns the difference between minimum and maximum
-
valueToString
-
toString
-
equals
-
hashCode
public int hashCode()
-