public interface RefreshableMetadataResolver extends MetadataResolver
MetadataResolver
that supports on-demand refresh.Modifier and Type | Method and Description |
---|---|
DateTime |
getLastRefresh()
Gets the time the last refresh cycle occurred.
|
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 DateTime getLastRefresh()
@Nullable DateTime getLastUpdate()
getLastRefresh()
is the metadata was known not to have changed during the last refresh
cycle.Copyright © 1999–2015 JBoss by Red Hat. All rights reserved.