Package com.okta.spring.boot.sdk.cache
Class SpringCache<K,V>
java.lang.Object
com.okta.spring.boot.sdk.cache.SpringCache<K,V>
- Type Parameters:
K
- The cache key typeV
- The cache value type
- All Implemented Interfaces:
com.okta.sdk.cache.Cache<K,
V>
A Okta SDK
Cache
implementation that wraps a Spring Cache
instance.
This allows the Okta SDK to use your existing Spring caching mechanism so you only need to configure one
caching implementation.
This implementation effectively acts as an adapter or bridge from the Okta SDK cache API to the Spring cache API.
- Since:
- 0.3.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpringCache
public SpringCache(org.springframework.cache.Cache springCache)
-
-
Method Details