T - the base type of XML objects being managedpublic interface ConditionalLoadXMLObjectLoadSaveManager<T extends XMLObject> extends XMLObjectLoadSaveManager<T>
XMLObjectLoadSaveManager implementations which
track the modify times of requested data such that XMLObjectLoadSaveManager.load(String) returns
data only if the data associated with the key has been modified since the last
request.| Modifier and Type | Method and Description |
|---|---|
void |
clearAllLoadLastModified()
Clear the cached modified times for the last load for all keys.
|
Long |
clearLoadLastModified(String key)
Clear the cached modified time for the last load of the specified key.
|
Long |
getLoadLastModified(String key)
Retrieve the cached modified time for the last load of the specified key.
|
boolean |
isLoadConditionally()
Get whether
XMLObjectLoadSaveManager.load(String) will check and return data only if modified
since the last request for that data. |
boolean isLoadConditionally()
XMLObjectLoadSaveManager.load(String) will check and return data only if modified
since the last request for that data.@Nullable Long getLoadLastModified(@Nonnull String key)
Note that this will be null if XMLObjectLoadSaveManager.load(String) has not been called
for the specified key since construction or since the last call to
clearLoadLastModified(String) or clearAllLoadLastModified().
key - the target key@Nullable Long clearLoadLastModified(@Nonnull String key)
key - the target keyvoid clearAllLoadLastModified()
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.