© 2005 BEA Systems, Inc.

com.bea.p13n.cache
Interface CacheDefaults

All Known Subinterfaces:
Cache

public interface CacheDefaults

Supplies default cache parameters for cache.


Field Summary
static boolean DEFAULT_ENABLED
          Whether the cache is enabled or disabled.
static int DEFAULT_MAX_ENTRIES
          Default max number of entries in the cache.
static long DEFAULT_TTL
          Time to live of elements in the cache, in millisecs
static int MAX_ENTRIES_MAX
          Maximum value for the maximum number of entries the cache.
static 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.

See Also:
Constant Field Values

DEFAULT_MAX_ENTRIES

public static final int DEFAULT_MAX_ENTRIES
Default max number of entries in the cache.

See Also:
Constant Field Values

DEFAULT_TTL

public static final long DEFAULT_TTL
Time to live of elements in the cache, in millisecs

See Also:
Constant Field Values

MAX_ENTRIES_MAX

public static final int MAX_ENTRIES_MAX
Maximum value for the maximum number of entries the cache.

See Also:
Constant Field Values

TTL_NEVER_EXPIRE

public static final int TTL_NEVER_EXPIRE
Live forever -- elements in cache will never expire.

See Also:
Constant Field Values

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved