Class MapDBMapFactory
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.util.MapFactory
-
- org.apache.jackrabbit.oak.plugins.document.util.MapDBMapFactory
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class MapDBMapFactory extends MapFactory implements Closeable
A MapFactory backed by MapDB, which stores the map in a temporary file.
-
-
Constructor Summary
Constructors Constructor Description MapDBMapFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.mapdb.BTreeMap<Path,Revision>create()-
Methods inherited from class org.apache.jackrabbit.oak.plugins.document.util.MapFactory
getInstance, setInstance
-
-
-
-
Method Detail
-
create
public org.mapdb.BTreeMap<Path,Revision> create()
- Specified by:
createin classMapFactory
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-