CacheInvalidationPolicy, org.eclipse.persistence.sessions.IdentityMapAccessor
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | getExpiryTimeInMillis(CacheKey key)
Implements abstract org. |
| public long | getRemainingValidTime(CacheKey key)
Overrides org. |
| public boolean | isInvalidated(CacheKey key)
Overrides org. |
| public boolean | isInvalidated(CacheKey key, long currentTimeMillis)
Implements abstract org. |
| NoExpiryCacheInvalidationPolicy | back to summary |
|---|---|
| public NoExpiryCacheInvalidationPolicy() | |
| getExpiryTimeInMillis | back to summary |
|---|---|
| public long getExpiryTimeInMillis(CacheKey key) Implements abstract org. INTERNAL: Since this policy implements no expiry, this will always return NO_EXPIRY
| |
| getRemainingValidTime | back to summary |
|---|---|
| public long getRemainingValidTime(CacheKey key) Overrides org. INTERNAL: Return the remaining life of this object Override the default implementation.
| |
| isInvalidated | back to summary |
|---|---|
| public boolean isInvalidated(CacheKey key) Overrides org. INTERNAL: This will return true if the object is set to be invalid, false otherwise.
| |
| isInvalidated | back to summary |
|---|---|
| public boolean isInvalidated(CacheKey key, long currentTimeMillis) Implements abstract org. INTERNAL: This will return true if the object is set to be invalid, false otherwise.
| |