Uses of Class
com.peterphi.std.threading.Timeout
Packages that use Timeout
Package
Description
-
Uses of Timeout in com.peterphi.std.guice.common.cached.util
Constructors in com.peterphi.std.guice.common.cached.util with parameters of type TimeoutModifierConstructorDescriptionSingleItemCache(Callable<T> supplier, Timeout validity) Create a new cache, caching the result ofsupplierfor a maximum ofvalidity. -
Uses of Timeout in com.peterphi.std.guice.common.daemon
Fields in com.peterphi.std.guice.common.daemon declared as TimeoutMethods in com.peterphi.std.guice.common.daemon that return TimeoutModifier and TypeMethodDescriptionGuiceRecurringDaemon.getInitialSleepTime()@NotNull TimeoutGuiceScheduledDaemon.getInitialSleepTime()GuiceRecurringDaemon.getSleepTime()@NotNull TimeoutGuiceScheduledDaemon.getSleepTime()Methods in com.peterphi.std.guice.common.daemon with parameters of type TimeoutModifier and TypeMethodDescriptionvoidGuiceRecurringDaemon.setSleepTime(Timeout sleepTime) protected voidSleep for the specified amount of time (unless the daemon is stopping, in which case do not sleep at all).Constructors in com.peterphi.std.guice.common.daemon with parameters of type TimeoutModifierConstructorDescriptionprotectedGuiceRecurringDaemon(boolean daemonThread, Timeout sleepTime) Creates a new Daemon; the Daemon will start once the guice object is fully constructedprotectedGuiceRecurringDaemon(Timeout sleepTime) Creates a new Daemon; the Daemon will start once the guice object is fully constructed -
Uses of Timeout in com.peterphi.std.guice.common.retry.retry.backoff
Constructors in com.peterphi.std.guice.common.retry.retry.backoff with parameters of type TimeoutModifierConstructorDescriptionExponentialBackoff(Timeout initial, double exponent) ExponentialBackoff(Timeout initial, double exponent, Timeout maximum) -
Uses of Timeout in com.peterphi.std.guice.common.serviceprops.jaxbref
Methods in com.peterphi.std.guice.common.serviceprops.jaxbref with parameters of type TimeoutModifier and TypeMethodDescriptionJAXBResourceProvider.withCacheValidity(Timeout cacheValidity) Change the period that serialised results will be cached for -
Uses of Timeout in com.peterphi.std.guice.common.stringparsing
Methods in com.peterphi.std.guice.common.stringparsing that return Timeout -
Uses of Timeout in com.peterphi.std.guice.web.rest.auth.oauth2
Fields in com.peterphi.std.guice.web.rest.auth.oauth2 declared as TimeoutModifier and TypeFieldDescriptionOAuth2SessionRef.delegatedTokenRefreshPeriodOAuth2SessionRef.delegatedTokenValidityPeriod -
Uses of Timeout in com.peterphi.std.threading
Fields in com.peterphi.std.threading declared as TimeoutModifier and TypeFieldDescriptionstatic final TimeoutTimeout.FIVE_MINUTESFive minutesstatic final TimeoutTimeout.MAX_VALUEThe maximum possible timeoutstatic final TimeoutTimeout.ONE_MINUTEOne minutestatic final TimeoutTimeout.ONE_QUARTER_SECOND0.25 seconds (250 milliseconds)static final TimeoutTimeout.ONE_SECONDOne secondstatic final TimeoutTimeout.TEN_SECONDSTen secondsstatic final TimeoutTimeout.THIRTY_MINUTES30 minutesstatic final TimeoutTimeout.THIRTY_SECONDSThirty secondsstatic final TimeoutTimeout.ZEROA zero-length timeoutMethods in com.peterphi.std.threading that return TimeoutModifier and TypeMethodDescriptionDeadline.getTimeoutLeft()Determines the amount of time leftuntil the deadline and returns it as a timeoutstatic TimeoutFilter through a number of timeouts to find the one with the longest periodstatic TimeoutFilter through a number of timeouts to find the one with the shortest periodTimeout.multiply(double by) Create a new Timeout which is equal to this timeout multiplied by some value
The resulting Timeout will be in milliseconds to maximise precision.Timeout.multiply(long by) Create a new Timeout which is equal to this timeout multiplied by some valuestatic TimeoutAdds together all the supplied timeoutsMethods in com.peterphi.std.threading with parameters of type TimeoutModifier and TypeMethodDescriptionintstatic TimeoutFilter through a number of timeouts to find the one with the longest periodstatic TimeoutFilter through a number of timeouts to find the one with the shortest periodstatic TimeoutAdds together all the supplied timeoutsConstructors in com.peterphi.std.threading with parameters of type Timeout -
Uses of Timeout in com.peterphi.std.util
Methods in com.peterphi.std.util that return Timeout -
Uses of Timeout in com.peterphi.usermanager.guice.authentication
Fields in com.peterphi.usermanager.guice.authentication declared as TimeoutModifier and TypeFieldDescriptionstatic TimeoutUserLoginProvider.LOGIN_TIMEOUTThe maximum amount of time a login transaction is permitted to run before being abandoned