Class CacheLoadingContext
java.lang.Object
net.shibboleth.oidc.metadata.cache.CacheLoadingContext
Context to hold information pertaining to a cache loading event.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCacheLoadingContext(Instant lastUpdateTime, Instant lastRefreshTime) Constructor. -
Method Summary
-
Field Details
-
lastUpdate
Last time the metadata was updated. -
lastRefresh
Last time a refresh cycle occurred.
-
-
Constructor Details
-
CacheLoadingContext
Constructor.- Parameters:
lastUpdateTime- the time of the last successful loading event.lastRefreshTime- the time of the last refresh attempt.
-
-
Method Details
-
getLastUpdate
Get the last successful update time.- Returns:
- Returns the lastUpdate.
-
getLastRefresh
Get the last refresh time.- Returns:
- Returns the lastRefresh.
-