| Constructor and Description |
|---|
CacheConfiguration(int size,
int ttl)
CacheConfiguration DataBoundConstructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.cache.Cache<String,ActiveDirectoryGroupDetails> |
getGroupCache()
Get the cache for groups
|
int |
getSize()
Get size of the cache
|
int |
getTtl()
Get TTL of the cache
|
com.google.common.cache.Cache<String,org.acegisecurity.userdetails.UserDetails> |
getUserCache()
Get the cache for users
|
@DataBoundConstructor
public CacheConfiguration(int size,
int ttl)
size - of the cache in terms of number of elementsttl - of the cache in terms of secondspublic int getSize()
public int getTtl()
public com.google.common.cache.Cache<String,org.acegisecurity.userdetails.UserDetails> getUserCache()
public com.google.common.cache.Cache<String,ActiveDirectoryGroupDetails> getGroupCache()
Copyright © 2016–2018. All rights reserved.