public class ExpireTimeout extends ExpirationPredicate
expireAfter <= 0 will never expire.
| Constructor and Description |
|---|
ExpireTimeout(long expireAfter) |
| Modifier and Type | Method and Description |
|---|---|
ExpirationPredicate |
copy() |
long |
getExpireAfter() |
long |
getTouched() |
String |
getType() |
long |
getValue() |
boolean |
isExpired()
true if this resource is no longer valid (has expired).
|
void |
touch()
Mark the resource as just having been used.
|
public ExpirationPredicate copy()
copy in class ExpirationPredicatepublic long getExpireAfter()
public long getTouched()
public String getType()
getType in class ExpirationPredicatepublic long getValue()
getValue in class ExpirationPredicatepublic boolean isExpired()
IExpirationSupportpublic void touch()
IExpirationSupportCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.