public class ClockFactory extends java.lang.Object implements CacheFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CacheTrace
Trace flag to display cache statistics
|
Constructor and Description |
---|
ClockFactory() |
Modifier and Type | Method and Description |
---|---|
CacheManager |
newCacheManager(CacheableFactory holderFactory,
java.lang.String name,
int initialSize,
int maximumSize)
Create a cache that uses the class represented by holderClass as
the holder class.
|
CacheManager |
newSizedCacheManager(CacheableFactory holderFactory,
java.lang.String name,
int initialSize,
long maximumSize) |
public static final java.lang.String CacheTrace
public CacheManager newCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, int maximumSize)
CacheFactory
newCacheManager
in interface CacheFactory
holderFactory
- The factory for the objects that are to be cached.name
- The name of the cacheinitialSize
- The initial capacity of the cachemaximumSize
- The maximum number of objects the cache will holdpublic CacheManager newSizedCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, long maximumSize)
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.