Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.cache.jcache
Interface CacheEntry

public interface CacheEntry
extends java.util.Map.Entry

Represents a key value pair stored in the `Cache`. This interface adds a few methods `Map.Entry` to provide some statistical information to the user. All the time values returned are measured like System.currentTimeMillis(). The time is measured in milliseconds from the midnight of January 1, 1970 UTC.

Method Summary
`long` | `getCreationTime()` The time this cache entry was created
`long` | `getExpirationTime()` The time when this entry will expire
`long` | `getLastAccessTime()` The time this entry was last accessed.
`long` | `getLastUpdateTime()` The time this entry was last updated

Methods inherited from interface java.util.Map.Entry
`equals, getKey, getValue, hashCode, setValue`

Method Detail

### getCreationTime

    public long getCreationTime()

  The time this cache entry was created

### getLastAccessTime

    public long getLastAccessTime()

  The time this entry was last accessed. This is greater than or equals to the update time

### getLastUpdateTime

    public long getLastUpdateTime()

  The time this entry was last updated

### getExpirationTime

    public long getExpirationTime()

  The time when this entry will expire

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 BEA Systems All Rights Reserved.