Class TimeoutConverter

java.lang.Object
com.peterphi.std.guice.common.stringparsing.TimeoutConverter

public class TimeoutConverter extends Object
Interprets a number of milliseconds as a Timeout
Supports the following string representations:
  • ISO-8601 Duration
  • ### - treated as milliseconds
  • ###(d|h|m|s|ms) (days, hours, minutes, seconds, milliseconds)
  • Constructor Details

    • TimeoutConverter

      public TimeoutConverter()
  • Method Details