Uses of Class
com.peterphi.std.threading.Timeout
Package
Description
-
Uses of Timeout in com.peterphi.std.guice.common.cached.util
ModifierConstructorDescriptionSingleItemCache
(Callable<T> supplier, Timeout validity) Create a new cache, caching the result ofsupplier
for a maximum ofvalidity
. -
Uses of Timeout in com.peterphi.std.guice.common.daemon
Modifier and TypeMethodDescriptionGuiceRecurringDaemon.getInitialSleepTime()
@NotNull Timeout
GuiceScheduledDaemon.getInitialSleepTime()
GuiceRecurringDaemon.getSleepTime()
@NotNull Timeout
GuiceScheduledDaemon.getSleepTime()
Modifier and TypeMethodDescriptionvoid
GuiceRecurringDaemon.setSleepTime
(Timeout sleepTime) protected void
Sleep for the specified amount of time (unless the daemon is stopping, in which case do not sleep at all).ModifierConstructorDescriptionprotected
GuiceRecurringDaemon
(boolean daemonThread, Timeout sleepTime) Creates a new Daemon; the Daemon will start once the guice object is fully constructedprotected
GuiceRecurringDaemon
(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
ModifierConstructorDescriptionExponentialBackoff
(Timeout initial, double exponent) ExponentialBackoff
(Timeout initial, double exponent, Timeout maximum) -
Uses of Timeout in com.peterphi.std.guice.common.serviceprops.jaxbref
Modifier 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
-
Uses of Timeout in com.peterphi.std.guice.web.rest.auth.oauth2
Modifier and TypeFieldDescriptionOAuth2SessionRef.delegatedTokenRefreshPeriod
OAuth2SessionRef.delegatedTokenValidityPeriod
-
Uses of Timeout in com.peterphi.std.threading
Modifier and TypeFieldDescriptionstatic final Timeout
Timeout.FIVE_MINUTES
Five minutesstatic final Timeout
Timeout.MAX_VALUE
The maximum possible timeoutstatic final Timeout
Timeout.ONE_MINUTE
One minutestatic final Timeout
Timeout.ONE_QUARTER_SECOND
0.25 seconds (250 milliseconds)static final Timeout
Timeout.ONE_SECOND
One secondstatic final Timeout
Timeout.TEN_SECONDS
Ten secondsstatic final Timeout
Timeout.THIRTY_MINUTES
30 minutesstatic final Timeout
Timeout.THIRTY_SECONDS
Thirty secondsstatic final Timeout
Timeout.ZERO
A zero-length timeoutModifier and TypeMethodDescriptionDeadline.getTimeoutLeft()
Determines the amount of time leftuntil the deadline and returns it as a timeoutstatic Timeout
Filter through a number of timeouts to find the one with the longest periodstatic Timeout
Filter 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 Timeout
Adds together all the supplied timeouts -
Uses of Timeout in com.peterphi.std.util
-
Uses of Timeout in com.peterphi.usermanager.guice.authentication
Modifier and TypeFieldDescriptionstatic Timeout
UserLoginProvider.LOGIN_TIMEOUT
The maximum amount of time a login transaction is permitted to run before being abandoned