Package elki.persistent
Class AbstractPageFileFactory<P extends Page>
- java.lang.Object
-
- elki.persistent.AbstractPageFileFactory<P>
-
- Type Parameters:
P
- Page type
- All Implemented Interfaces:
PageFileFactory<P>
- Direct Known Subclasses:
MemoryPageFileFactory
,OnDiskArrayPageFileFactory
,PersistentPageFileFactory
public abstract class AbstractPageFileFactory<P extends Page> extends java.lang.Object implements PageFileFactory<P>
Abstract page file factory.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected int
pageSize
Holds the value ofAbstractPageFileFactory.Par.PAGE_SIZE_ID
.
-
Constructor Summary
Constructors Constructor Description AbstractPageFileFactory(int pageSize)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPageSize()
Query the page size.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.persistent.PageFileFactory
newPageFile
-
-
-
-
Field Detail
-
pageSize
protected int pageSize
Holds the value ofAbstractPageFileFactory.Par.PAGE_SIZE_ID
.
-
-
Method Detail
-
getPageSize
public int getPageSize()
Description copied from interface:PageFileFactory
Query the page size.- Specified by:
getPageSize
in interfacePageFileFactory<P extends Page>
- Returns:
- page size
-
-