public interface RefreshableMetadataResolver extends MetadataResolver
MetadataResolver
that supports on-demand refresh.Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getLastRefresh()
Gets the time the last refresh cycle occurred.
|
org.joda.time.DateTime |
getLastUpdate()
Get the time that the currently available metadata was last updated.
|
void |
refresh()
Refresh the data exposed by the resolver.
|
getMetadataFilter, isRequireValidMetadata, setMetadataFilter, setRequireValidMetadata
void refresh() throws net.shibboleth.utilities.java.support.resolver.ResolverException
An implementation of this method should typically be either synchronized
or make use other locking mechanisms to protect against concurrent access.
net.shibboleth.utilities.java.support.resolver.ResolverException
- if the refresh operation was unsuccessful@Nullable org.joda.time.DateTime getLastRefresh()
@Nullable org.joda.time.DateTime getLastUpdate()
getLastRefresh()
is the metadata was known not to have changed during the last refresh
cycle.Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.