public interface ExpirationPolicy
Modifier and Type | Method and Description |
---|---|
boolean |
isExpired(org.apache.xmlgraphics.image.loader.cache.TimeStampProvider provider,
long timestamp)
Indicates whether a cache entry is expired given its creation time stamp.
|
boolean isExpired(org.apache.xmlgraphics.image.loader.cache.TimeStampProvider provider, long timestamp)
provider
- the provider for new time stampstimestamp
- the creation time stamp (the semantics of
System.currentTimeMillis()
apply)Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.