Package | Description |
---|---|
com.okta.sdk.cache | |
com.okta.sdk.client | |
com.okta.sdk.impl.cache | |
com.okta.sdk.impl.client | |
org.openapitools.client |
Modifier and Type | Method and Description |
---|---|
CacheManager |
CacheManagerBuilder.build()
Returns a new
CacheManager instance reflecting Builder's current configuration. |
static CacheManager |
Caches.newDisabledCacheManager()
Instantiates a new
CacheManager that disables caching entirely. |
Modifier and Type | Method and Description |
---|---|
ClientBuilder |
ClientBuilder.setCacheManager(CacheManager cacheManager)
Sets the
CacheManager that should be used to cache Okta REST resources, reducing round-trips to the
Okta API server and enhancing application performance. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCacheManager
Very simple default
CacheManager implementation that retains all created Cache instances in
an in-memory ConcurrentMap . |
class |
DisabledCacheManager
A disabled implementation that does nothing.
|
Modifier and Type | Method and Description |
---|---|
CacheManager |
DefaultCacheManagerBuilder.build() |
Modifier and Type | Method and Description |
---|---|
ClientBuilder |
DefaultClientBuilder.setCacheManager(CacheManager cacheManager) |
Constructor and Description |
---|
ApiClient(org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient,
CacheManager cacheManager,
com.okta.commons.http.config.HttpClientConfiguration httpClientConfiguration) |
Copyright © 2017–2023 Okta. All rights reserved.