|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.record.HashtableCacheFactory
public class HashtableCacheFactory
This class returns a new instance of a HashtableCache from the configured settings
Field Summary | |
---|---|
private int |
dataCacheSize
Stores a reference to data cache size |
static int |
DEFAULT_DATACACHE_SIZE
Stores a reference to DEFAULT_DATACACHE_SIZE of 512 |
Constructor Summary | |
---|---|
HashtableCacheFactory()
default constructor |
|
HashtableCacheFactory(int dataCacheSize)
constructor supplying cache size |
Method Summary | |
---|---|
Cache |
getCache()
This method should create a new cache |
int |
getDataCacheSize()
Gets the DataCacheSize attribute |
void |
setDataCacheSize(int dataCacheSize)
Sets the DataCacheSize attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_DATACACHE_SIZE
private int dataCacheSize
Constructor Detail |
---|
public HashtableCacheFactory()
public HashtableCacheFactory(int dataCacheSize)
dataCacheSize
- The size of the cache normally this would be 512Method Detail |
---|
public Cache getCache()
CacheFactory
getCache
in interface CacheFactory
public int getDataCacheSize()
public void setDataCacheSize(int dataCacheSize)
dataCacheSize
- The new DataCacheSize value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |