@Addresses(value={"/core-service=management/security-realm=*/authorization=ldap/username-to-dn=username-filter/cache=by-search-time","/core-service=management/security-realm=*/authorization=ldap/group-search=group-to-principal/cache=by-search-time","/core-service=management/security-realm=*/authorization=ldap/username-to-dn=advanced-filter/cache=by-search-time","/core-service=management/security-realm=*/authorization=ldap/username-to-dn=username-is-dn/cache=by-search-time","/core-service=management/security-realm=*/authorization=ldap/group-search=principal-to-group/cache=by-search-time","/core-service=management/security-realm=*/authentication=ldap/cache=by-search-time"}) @Implicit public class BySearchTimeCache<T extends BySearchTimeCache<T>> extends HashMap implements Keyed
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BySearchTimeCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
cacheFailures()
Should failures be cached?
|
T |
cacheFailures(Boolean value)
Should failures be cached?
|
Integer |
cacheSize()
The current size of the cache.
|
T |
cacheSize(Integer value)
The current size of the cache.
|
Integer |
evictionTime()
The time in seconds until an entry should be evicted from the cache.
|
T |
evictionTime(Integer value)
The time in seconds until an entry should be evicted from the cache.
|
String |
getKey() |
Integer |
maxCacheSize()
The maximum size of the cache before the oldest items are removed to make
room for new entries.
|
T |
maxCacheSize(Integer value)
The maximum size of the cache before the oldest items are removed to make
room for new entries.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="cache-failures") public Boolean cacheFailures()
@ModelNodeBinding(detypedName="cache-size") public Integer cacheSize()
@ModelNodeBinding(detypedName="eviction-time") public Integer evictionTime()
public T evictionTime(Integer value)
@ModelNodeBinding(detypedName="max-cache-size") public Integer maxCacheSize()
Copyright © 2016 JBoss by Red Hat. All rights reserved.