| Modifier and Type | Method and Description |
|---|---|
static void |
refresh()
Can refresh the timezone cache in case of a dynamic
update of the underlying timezone repository.
|
static void |
setCacheActive(boolean active)
Aktivates or deactivates the internal cache.
|
static void |
setMinimumCacheSize(int minimumCacheSize)
Updates the size of the internal timezone cache.
|
public static void refresh()
Can refresh the timezone cache in case of a dynamic update of the underlying timezone repository.
First the internal cache will be cleared. Furthermore, if needed the system timezone will be determined again.
public static void setCacheActive(boolean active)
Aktivates or deactivates the internal cache.
The timezone cache is active by default. Switching off the cache can
make the performance worse especially if the underlying ZoneModelProvider
itself has no cache.
active - true if cache shall be active else falsepublic static void setMinimumCacheSize(int minimumCacheSize)
Updates the size of the internal timezone cache.
minimumCacheSize - new minimum size of cacheIllegalArgumentException - if the argument is negativeCopyright © 2014–2017. All rights reserved.