
public static class LRUCachePageFileFactory.Parameterizer extends AbstractParameterizer
| Modifier and Type | Field and Description | 
|---|---|
static OptionID | 
CACHE_SIZE_ID
Parameter to specify the size of the cache in bytes, must be an integer
 equal to or greater than 0. 
 | 
protected int | 
cacheSize
Cache size, in bytes. 
 | 
static OptionID | 
PAGEFILE_ID
Parameter to specify the inner pagefile. 
 | 
(package private) PageFileFactory<Page> | 
pageFileFactory
Inner page file factory. 
 | 
| Constructor and Description | 
|---|
LRUCachePageFileFactory.Parameterizer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected LRUCachePageFileFactory<Page> | 
makeInstance()
Make an instance after successful configuration. 
 | 
protected void | 
makeOptions(Parameterization config)
Add all options. 
 | 
configure, makepublic static final OptionID CACHE_SIZE_ID
 Default value: Integer.MAX_VALUE
 
 Key: -pagefile.cachesize
 
public static final OptionID PAGEFILE_ID
 Key: -pagefile.pagefile
 
PageFileFactory<Page> pageFileFactory
protected int cacheSize
public LRUCachePageFileFactory.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizermakeOptions in class AbstractParameterizerconfig - Parameterization to add options to.protected LRUCachePageFileFactory<Page> makeInstance()
AbstractParameterizermakeInstance in class AbstractParameterizer