Package io.higson.runtime.evict
Class IntervalParser
java.lang.Object
io.higson.runtime.evict.IntervalParser
-
Method Summary
-
Method Details
-
parse
parses interval expression in form: value [multiplier] === examples: 1 s 2 m 3 h 100 m 2 d ===- Returns:
- number of milliseconds (or 0 if cannot parse input)
-