# com.bea.p13n.cache
CacheDefaults Interface

public interface CacheDefaults

Supplies default cache parameters for cache.

All Known Subinterfaces
  `Cache`

## Field Summary

`public static final boolean` | `DEFAULT_ENABLED` Whether the cache is enabled or disabled.
`public static final int` | `DEFAULT_MAX_ENTRIES` Default max number of entries in the cache.
`public static final long` | `DEFAULT_TTL` Time to live of elements in the cache, in millisecs
`public static final int` | `MAX_ENTRIES_MAX` Maximum value for the maximum number of entries the cache.
`public static final int` | `TTL_NEVER_EXPIRE` Live forever -- elements in cache will never expire.

## Field Detail

### DEFAULT_ENABLED

    public static final boolean DEFAULT_ENABLED

  Whether the cache is enabled or disabled.

### DEFAULT_MAX_ENTRIES

    public static final int DEFAULT_MAX_ENTRIES

  Default max number of entries in the cache.

### DEFAULT_TTL

    public static final long DEFAULT_TTL

  Time to live of elements in the cache, in millisecs

### MAX_ENTRIES_MAX

    public static final int MAX_ENTRIES_MAX

  Maximum value for the maximum number of entries the cache.

### TTL_NEVER_EXPIRE

    public static final int TTL_NEVER_EXPIRE

  Live forever -- elements in cache will never expire.