Package hudson.plugins.active_directory
Class CacheConfiguration<K,V,E extends Exception>
- java.lang.Object
-
- hudson.plugins.active_directory.CacheConfiguration<K,V,E>
-
-
Constructor Summary
Constructors Constructor Description CacheConfiguration(int size, int ttl)
CacheConfiguration DataBoundConstructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.benmanes.caffeine.cache.Cache<String,ActiveDirectoryGroupDetails>
getGroupCache()
Get the cache for groupsint
getSize()
Get size of the cacheint
getTtl()
Get TTL of the cachecom.github.benmanes.caffeine.cache.Cache<CacheKey,UserDetails>
getUserCache()
Get the cache for users
-
-
-
Method Detail
-
getSize
public int getSize()
Get size of the cache- Returns:
- the size of the cache
-
getTtl
public int getTtl()
Get TTL of the cache- Returns:
- the ttl of the cache in seconds
-
getUserCache
public com.github.benmanes.caffeine.cache.Cache<CacheKey,UserDetails> getUserCache()
Get the cache for users- Returns:
- the cache for users
-
getGroupCache
public com.github.benmanes.caffeine.cache.Cache<String,ActiveDirectoryGroupDetails> getGroupCache()
Get the cache for groups- Returns:
- the cache for groups
-
-