org.springframework.context.support

## 类 ReloadableResourceBundleMessageSource.PropertiesHolder

- java.lang.Object
- - org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder

- 封闭类:
    ReloadableResourceBundleMessageSource

      protected class ReloadableResourceBundleMessageSource.PropertiesHolder
      extends Object

  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).

- - ### 构造器概要

    构造器
    构造器和说明
    `PropertiesHolder()`
    `PropertiesHolder(Properties properties, long fileTimestamp)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `long` | `getFileTimestamp()`
    `MessageFormat` | `getMessageFormat(String code, Locale locale)`
    `Properties` | `getProperties()`
    `String` | `getProperty(String code)`
    `long` | `getRefreshTimestamp()`
    `void` | `setRefreshTimestamp(long refreshTimestamp)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### PropertiesHolder

          public PropertiesHolder()

    - #### PropertiesHolder

          public PropertiesHolder(Properties properties,
                                  long fileTimestamp)

  - ### 方法详细资料

    - #### getProperties

          @Nullable
          public Properties getProperties()

    - #### getFileTimestamp

          public long getFileTimestamp()

    - #### setRefreshTimestamp

          public void setRefreshTimestamp(long refreshTimestamp)

    - #### getRefreshTimestamp

          public long getRefreshTimestamp()

    - #### getProperty

          @Nullable
          public String getProperty(String code)

    - #### getMessageFormat

          @Nullable
          public MessageFormat getMessageFormat(String code,
                                                           Locale locale)