Constructor and Description |
---|
CachableString(String toCache,
long expireBy)
Instantiates a new cachable string.
|
Modifier and Type | Method and Description |
---|---|
long |
getExpireBy()
Gets de expire-by (UNIX, milliseconden) timestamp voor dit object.
|
String |
getItem()
Haalt het opgeslagen item
<T> op. |
boolean |
isValid()
Controleert of dit object geldig is.
|
public CachableString(String toCache, long expireBy)
toCache
- de String om te bewarenexpireBy
- de expire-by timestamp in milliseconden (UNIX time)public long getExpireBy()
Cachable
getExpireBy
in interface Cachable<String>
public String getItem()
Cachable
<T>
op.Copyright © 2012–2014 Ministerie EZ. All rights reserved.