public class ExpirationComponent<T extends ExpirationComponent<T>> extends Object
Constructor and Description |
---|
ExpirationComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
Long |
interval()
Interval (in milliseconds) between subsequent runs to purge expired
entries from memory and any cache stores.
|
T |
interval(Long value)
Interval (in milliseconds) between subsequent runs to purge expired
entries from memory and any cache stores.
|
Long |
lifespan()
Maximum lifespan of a cache entry, after which the entry is expired
cluster-wide, in milliseconds.
|
T |
lifespan(Long value)
Maximum lifespan of a cache entry, after which the entry is expired
cluster-wide, in milliseconds.
|
Long |
maxIdle()
Maximum idle time a cache entry will be maintained in the cache, in
milliseconds.
|
T |
maxIdle(Long value)
Maximum idle time a cache entry will be maintained in the cache, in
milliseconds.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long interval()
public T interval(Long value)
public Long lifespan()
public T lifespan(Long value)
public Long maxIdle()
Copyright © 2018 JBoss by Red Hat. All rights reserved.