Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.image.loader.cache
Interface ExpirationPolicy

All Known Implementing Classes:
  DefaultExpirationPolicy

    public interface ExpirationPolicy

Represents an expiration policy for cache entries that have a creation time stamp.

Method Summary
`boolean` | `isExpired(org.apache.xmlgraphics.image.loader.cache.TimeStampProvider provider, long timestamp)` Indicates whether a cache entry is expired given its creation time stamp.

Method Detail

### isExpired

    boolean isExpired(org.apache.xmlgraphics.image.loader.cache.TimeStampProvider provider,
                      long timestamp)

  Indicates whether a cache entry is expired given its creation time stamp.

  Parameters:
    `provider` - the provider for new time stamps
    `timestamp` - the creation time stamp (the semantics of `System.currentTimeMillis()` apply)
  Returns:
    true if the entry is to be considered expired, false if not

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.