public class ExpirationComponent extends Object
| Constructor and Description |
|---|
ExpirationComponent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
Long |
interval()
Interval (in milliseconds) between subsequent runs to purge expired entries from memory and any cache stores.
|
ExpirationComponent |
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.
|
ExpirationComponent |
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.
|
ExpirationComponent |
maxIdle(Long value)
Maximum idle time a cache entry will be maintained in the cache, in milliseconds.
|
public String getKey()
public Long interval()
public ExpirationComponent interval(Long value)
public Long lifespan()
public ExpirationComponent lifespan(Long value)
public Long maxIdle()
public ExpirationComponent maxIdle(Long value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.