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, make
public 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)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected LRUCachePageFileFactory<Page> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.