public class CachingRealm<T extends CachingRealm<T>> extends Object
Constructor and Description |
---|
CachingRealm(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
Long |
maximumAge()
The time in milliseconds that an item can stay in the cache.
|
T |
maximumAge(Long value)
The time in milliseconds that an item can stay in the cache.
|
Integer |
maximumEntries()
The maximum number of entries to keep in the cache.
|
T |
maximumEntries(Integer value)
The maximum number of entries to keep in the cache.
|
String |
realm()
A reference to a cacheable security realm.
|
T |
realm(String value)
A reference to a cacheable security realm.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public CachingRealm(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long maximumAge()
public T maximumAge(Long value)
public Integer maximumEntries()
public T maximumEntries(Integer value)
public String realm()
Copyright © 2020 JBoss by Red Hat. All rights reserved.