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 © 2024 Apache Software Foundation. All rights reserved.