PropertiesHolder for caching. Stores the last-modified timestamp of the source file for efficient change detection, and the timestamp of the last refresh attempt (updated every time the cache entry gets re-validated).
Constructor and description |
---|
ReloadableResourceBundleMessageSource.PropertiesHolder
(java.lang.String filename, org.springframework.core.io.Resource resource) |
ReloadableResourceBundleMessageSource.PropertiesHolder
(java.util.Properties properties) |
Type | Name and description |
---|---|
long |
getFileTimestamp() |
java.lang.String |
getFilename() |
java.text.MessageFormat |
getMessageFormat(java.lang.String code, java.util.Locale locale) |
java.util.Properties |
getProperties() |
java.lang.String |
getProperty(java.lang.String code) |
boolean |
update() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |