| Package | Description |
|---|---|
| io.helidon.security.providers.common |
Common classes for provider implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> EvictableCache.Builder<K,V> |
EvictableCache.builder()
Create a new builder for a cache.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.cacheEnabled(boolean cacheEnabled)
If the cacheEnabled is set to false, no caching will be done.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.config(Config config)
Update this builder from configuration.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.evictor(BiFunction<K,V,Boolean> evictor)
Configure evictor to check if a records is still valid.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.evictSchedule(long evictDelay,
long evictPeriod,
TimeUnit evictTimeUnit)
Configure eviction scheduling.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.maxSize(long cacheMaxSize)
Configure maximal cache size.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.parallelismThreshold(long parallelismThreshold)
Configure parallelism threshold.
|
EvictableCache.Builder<K,V> |
EvictableCache.Builder.timeout(long timeout,
TimeUnit timeoutUnit)
Configure record timeout since last modification.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.