public interface CacheManager
Cache
instances.
This interface provides an abstraction (wrapper) API on top of an underlying cache framework's main Manager component (e.g. JCache, Ehcache, Hazelcast, JCS, OSCache, JBossCache, TerraCotta, Coherence, GigaSpaces, etc, etc), allowing a Okta SDK user to configure any cache mechanism they choose.
Modifier and Type | Method and Description |
---|---|
<K,V> Cache<K,V> |
getCache(String name)
Acquires the cache with the specified
name . |
<K,V> Cache<K,V> getCache(String name)
name
. If a cache does not yet exist with that name, a new one
will be created with that name and returned.K
- type of cache keyV
- type of cache valuename
- the name of the cache to acquire.Copyright © 2017–2023 Okta. All rights reserved.