public interface ConfigurationPropertyCaching
修飾子と型 | メソッドと説明 |
---|---|
void | clear() キャッシュをクリアし、次回のアクセス時に強制的に再読み込みします。 |
void | disable() キャッシュを使用不可にする。 |
void | enable() 無制限の存続時間でキャッシングを有効にします。 |
static ConfigurationPropertyCaching | get(Environment environment) 環境内のすべての構成プロパティソースを取得します。 |
static ConfigurationPropertyCaching | get(Environment environment, ObjectSE underlyingSource) 環境内の特定の構成プロパティソースを取得します。 |
static ConfigurationPropertyCaching | get(IterableSE<ConfigurationPropertySource> sources) 指定されたすべての構成プロパティソースを取得します。 |
static ConfigurationPropertyCaching | get(IterableSE<ConfigurationPropertySource> sources, ObjectSE underlyingSource) 指定された構成プロパティソースの特定の構成プロパティソースを取得します。 |
void | setTimeToLive(DurationSE timeToLive) アイテムがキャッシュに存在できる時間を設定します。 |
void enable()
void disable()
void setTimeToLive(DurationSE timeToLive)
timeToLive
- 価値を生きる時間。void clear()
static ConfigurationPropertyCaching get(Environment environment)
environment
- Spring の環境 static ConfigurationPropertyCaching get(Environment environment, ObjectSE underlyingSource)
environment
- Spring の環境 underlyingSource
- 一致する必要がある underlying source
static ConfigurationPropertyCaching get(IterableSE<ConfigurationPropertySource> sources)
sources
- 構成プロパティのソース static ConfigurationPropertyCaching get(IterableSE<ConfigurationPropertySource> sources, ObjectSE underlyingSource)
sources
- 構成プロパティのソース underlyingSource
- 一致する必要がある underlying source