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 void
close()
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:
create
in classMapFactory
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-