public class MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier<T>
extends com.google.common.collect.ForwardingObject
implements com.google.common.base.Supplier<T>
LoadingCache
to deal with concurrency issues related to the supplier.Modifier and Type | Method and Description |
---|---|
static <T> MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier<T> |
create(AtomicReference<AuthorizationException> authException,
com.google.common.base.Supplier<T> delegate,
long duration,
TimeUnit unit) |
protected com.google.common.base.Supplier<T> |
delegate() |
T |
get() |
String |
toString() |
public static <T> MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier<T> create(AtomicReference<AuthorizationException> authException, com.google.common.base.Supplier<T> delegate, long duration, TimeUnit unit)
protected com.google.common.base.Supplier<T> delegate()
delegate
in class com.google.common.collect.ForwardingObject
public String toString()
toString
in class com.google.common.collect.ForwardingObject
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.