CachedWithCacheSettings

For classes whose title is to be cached, additionally fine-tune the settings of the cache (of a given logical type name).

API

CachedWithCacheSettings.java
interface CachedWithCacheSettings {
  int expiryDurationInMinutes()     (1)
  int maxSizeInEntries()     (2)
}
1 expiryDurationInMinutes()

The number of minutes that a title should stay in the cache (of a given logical type name)

2 maxSizeInEntries()

The maximum number of entries that can reside in the cache (of a given logical type name).

Members

expiryDurationInMinutes()

The number of minutes that a title should stay in the cache (of a given logical type name)

maxSizeInEntries()

The maximum number of entries that can reside in the cache (of a given logical type name).