Class ReloadableResourceBundleMessageSource.PropertiesHolder
java.lang.Object
org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- Enclosing class:
- ReloadableResourceBundleMessageSource
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).
- Author:
- Juergen Hoeller, Sebastien Deleuze
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlonggetMessageFormat(String code, Locale locale) getProperty(String code) longvoidsetRefreshTimestamp(long refreshTimestamp) 
- 
Constructor Details- 
PropertiesHolderpublic PropertiesHolder()
- 
PropertiesHolder
 
- 
- 
Method Details- 
getProperties
- 
getFileTimestamppublic long getFileTimestamp()
- 
setRefreshTimestamppublic void setRefreshTimestamp(long refreshTimestamp) 
- 
getRefreshTimestamppublic long getRefreshTimestamp()
- 
getProperty
- 
getMessageFormat
 
-