Uses of Class
org.forgerock.openig.tools.cache.CaffeineAsyncCache.Builder
Packages that use CaffeineAsyncCache.Builder
Package
Description
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
Access Management Server.
This package contains classes to deal with caching.
This package contains classes to call AM to retrieve user's session info.
This package contains classes to call AM to retrieve user's profile info.
-
Uses of CaffeineAsyncCache.Builder in org.forgerock.openig.filter.oauth2
Methods in org.forgerock.openig.filter.oauth2 with parameters of type CaffeineAsyncCache.BuilderModifier and TypeMethodDescriptionCaffeineCacheAccessTokenResolver.builder
(CaffeineAsyncCache.Builder<String, AccessTokenInfo, AccessTokenException> cacheBuilder, AccessTokenResolver delegate, Clock clock, Duration defaultTimeout, Duration maximumTimeout) Creates aCaffeineCacheAccessTokenResolver.Builder
to be passed when creating a newCaffeineCacheAccessTokenResolver
.Constructors in org.forgerock.openig.filter.oauth2 with parameters of type CaffeineAsyncCache.BuilderModifierConstructorDescriptionBuilder
(CaffeineAsyncCache.Builder<String, AccessTokenInfo, AccessTokenException> cacheBuilder, AccessTokenResolver delegate, Clock clock, Duration defaultTimeout, Duration maximumTimeout) Creates aCaffeineCacheAccessTokenResolver.Builder
delegating to the givenAccessTokenResolver
using the given (pre-configured) cache. -
Uses of CaffeineAsyncCache.Builder in org.forgerock.openig.tools.am
Methods in org.forgerock.openig.tools.am with parameters of type CaffeineAsyncCache.BuilderModifier and TypeMethodDescriptionAmService.Builder.sessionCache
(CaffeineAsyncCache.Builder<String, Optional<SessionInfo>, SessionException> cacheBuilder, Duration maximumTimeout, DisconnectionStrategy disconnectionStrategy) Specifies theCaffeine
cache for theCacheSessionService
. -
Uses of CaffeineAsyncCache.Builder in org.forgerock.openig.tools.cache
Methods in org.forgerock.openig.tools.cache that return CaffeineAsyncCache.BuilderModifier and TypeMethodDescriptionCaffeineAsyncCache.Builder.evictionListener
(com.github.benmanes.caffeine.cache.RemovalListener<? super K, ? super V> evictionListener) Sets aRemovalListener
to be called when items are evicted from the cache.Sets theExecutor
to use for the cache.CaffeineAsyncCache.Builder.expireAfter
(com.github.benmanes.caffeine.cache.Expiry<K, V> expiry) Sets the expiry of items in the cache.CaffeineAsyncCache.Builder.expireAfterWrite
(long value, TimeUnit unit) Sets the expiry of items in the cache after they are written.CaffeineAsyncCache.Builder.maximumSize
(long maximumSize) Sets the maximum size of the cache.CaffeineAsyncCache.Builder.monitoring
(org.forgerock.monitoring.api.instrument.MeterRegistry registry, String name) Sets up cache stats monitoring.CaffeineAsyncCache.Builder.removalListener
(com.github.benmanes.caffeine.cache.RemovalListener<? super K, ? super V> removalListener) Sets aRemovalListener
to be called when items are removed from the cache.CaffeineAsyncCache.Builder.ticker
(com.github.benmanes.caffeine.cache.Ticker ticker) Sets the ticker to use for the cache. -
Uses of CaffeineAsyncCache.Builder in org.forgerock.openig.tools.session
Constructors in org.forgerock.openig.tools.session with parameters of type CaffeineAsyncCache.BuilderModifierConstructorDescriptionCacheSessionService
(SessionService sessionService, NotificationService notificationService, String sessionNotificationTopic, CaffeineAsyncCache.Builder<String, Optional<SessionInfo>, SessionException> cacheBuilder, Supplier<String> generator, Clock clock, Duration maximumTimeout, DisconnectionStrategy disconnectionStrategy, boolean sessionIdleRefreshEnabled) Creates a new CacheSessionService. -
Uses of CaffeineAsyncCache.Builder in org.forgerock.openig.tools.userprofile
Constructors in org.forgerock.openig.tools.userprofile with parameters of type CaffeineAsyncCache.BuilderModifierConstructorDescriptionCacheUserProfileService
(UserProfileService userProfileService, CaffeineAsyncCache.Builder<String, UserProfile, UserProfileException> cacheBuilder, Duration maximumTimeout) Creates a new CacheUserProfileService.