public final class RefreshCachedSupplier<T> extends Object implements Supplier<T>, SdkAutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
RefreshCachedSupplier.Builder<T> |
static interface |
RefreshCachedSupplier.PrefetchStrategy |
| Modifier and Type | Method and Description |
|---|---|
static <T> RefreshCachedSupplier.Builder<T> |
builder(Supplier<RefreshResult<T>> valueSupplier) |
void |
close() |
T |
get() |
public static <T> RefreshCachedSupplier.Builder<T> builder(Supplier<RefreshResult<T>> valueSupplier)
public void close()
close in interface SdkAutoCloseableclose in interface AutoCloseableCopyright © 2022. All rights reserved.