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).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getMessageFormat
(String code, Locale locale) getProperty
(String code) long
void
setRefreshTimestamp
(long refreshTimestamp)
-
Constructor Details
-
PropertiesHolder
public PropertiesHolder() -
PropertiesHolder
-
-
Method Details
-
getProperties
-
getFileTimestamp
public long getFileTimestamp() -
setRefreshTimestamp
public void setRefreshTimestamp(long refreshTimestamp) -
getRefreshTimestamp
public long getRefreshTimestamp() -
getProperty
-
getMessageFormat
-