类 ReloadableResourceBundleMessageSource.PropertiesHolder
java.lang.Object
cn.taketoday.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
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).
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明longgetMessageFormat(String code, Locale locale) getProperty(String code) longvoidsetRefreshTimestamp(long refreshTimestamp)
-
构造器详细资料
-
PropertiesHolder
public PropertiesHolder() -
PropertiesHolder
-
-
方法详细资料
-
getProperties
-
getFileTimestamp
public long getFileTimestamp() -
setRefreshTimestamp
public void setRefreshTimestamp(long refreshTimestamp) -
getRefreshTimestamp
public long getRefreshTimestamp() -
getProperty
-
getMessageFormat
-