Class ProfileFileRefresher
- java.lang.Object
-
- software.amazon.awssdk.profiles.internal.ProfileFileRefresher
-
@SdkInternalApi public final class ProfileFileRefresher extends Object
Class used for caching and reloading ProfileFile objects from a Supplier.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProfileFileRefresher.Builderstatic classProfileFileRefresher.ProfileFileRefreshRecordClass used to encapsulate additional refresh information.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProfileFileRefresher.Builderbuilder()Builder method to construct instance of ProfileFileRefresher.ProfileFilerefreshIfStale()Retrieves the cache value or refreshes it if stale.
-
-
-
Method Detail
-
builder
public static ProfileFileRefresher.Builder builder()
Builder method to construct instance of ProfileFileRefresher.
-
refreshIfStale
public ProfileFile refreshIfStale()
Retrieves the cache value or refreshes it if stale.
-
-