Package | Description |
---|---|
com.okta.sdk.cache | |
com.okta.sdk.client | |
com.okta.sdk.ds | |
com.okta.sdk.impl.cache | |
com.okta.sdk.impl.client | |
com.okta.sdk.impl.ds | |
com.okta.sdk.impl.ds.cache |
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 | Method and Description |
---|---|
CacheManager |
DataStore.getCacheManager()
Returns the CacheManager used to improve data store 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 |
---|---|
CacheManager |
BaseClient.getCacheManager() |
Modifier and Type | Method and Description |
---|---|
protected InternalDataStore |
BaseClient.createDataStore(com.okta.commons.http.RequestExecutor requestExecutor,
com.okta.commons.http.config.BaseUrlResolver baseUrlResolver,
ClientCredentialsResolver clientCredentialsResolver,
CacheManager cacheManager) |
ClientBuilder |
DefaultClientBuilder.setCacheManager(CacheManager cacheManager) |
Constructor and Description |
---|
BaseClient(ClientConfiguration clientConfiguration,
CacheManager cacheManager) |
BaseClient(ClientConfiguration clientConfiguration,
CacheManager cacheManager,
com.okta.commons.http.RequestExecutor requestExecutor) |
DefaultClient(ClientConfiguration clientConfiguration,
CacheManager cacheManager)
Instantiates a new Client instance that will communicate with the Okta REST API.
|
DefaultClient(ClientConfiguration clientConfiguration,
CacheManager cacheManager,
com.okta.commons.http.RequestExecutor requestExecutor)
Instantiates a new Client instance that will communicate with the Okta REST API.
|
Modifier and Type | Method and Description |
---|---|
CacheManager |
DefaultDataStore.getCacheManager() |
Constructor and Description |
---|
DefaultDataStore(com.okta.commons.http.RequestExecutor requestExecutor,
com.okta.commons.http.config.BaseUrlResolver baseUrlResolver,
ClientCredentialsResolver clientCredentialsResolver,
CacheManager cacheManager) |
Constructor and Description |
---|
DefaultCacheResolver(CacheManager cacheManager,
CacheRegionNameResolver cacheRegionNameResolver) |
Copyright © 2017–2023 Okta. All rights reserved.