Top Description Interfaces Classes
[default module]

Package javax.cache.expiry


This package contains expiry policies
Author
Greg Luck
Since
1.0

Interface Summary

Modifier and TypeInterface and Description
public interface
ExpiryPolicy

Defines functions to determine when cache entries will expire based on creation, access and modification operations.

Class Summary

Modifier and TypeClass and Description
public class
AccessedExpiryPolicy

An ExpiryPolicy that defines the expiry Duration of a Cache Entry based on the last time it was accessed.

public class
CreatedExpiryPolicy

An ExpiryPolicy that defines the expiry Duration of a Cache Entry based on when it was created.

public class
Duration

A java.io.Serializable duration of time.

public class
EternalExpiryPolicy

An eternal ExpiryPolicy specifies that Cache Entries won't expire.

public class
ModifiedExpiryPolicy

An ExpiryPolicy that defines the expiry Duration of a Cache Entry based on the last time it was updated.

public class
TouchedExpiryPolicy

An ExpiryPolicy that defines the expiry Duration of a Cache Entry based on when it was last touched.