test_class.file: oak-run/src/test/java/org/apache/jackrabbit/oak/plugins/document/util/MapDBMapFactoryTest.java
test_class.identifier: MapDBMapFactoryTest
test_case.body: @Test
      public void mapDB() throws IOException {
          try (MapDBMapFactory dbf = new MapDBMapFactory()) {
              ConcurrentMap<Path, Revision> map = dbf.create();
              for (int i = 0; i < 10000; i++) {
                  map.put(Path.fromString("/some/test/path/node-" + i), new Revision(i, 0, 1));
              }
              for (int i = 0; i < 10000; i++) {
                  assertEquals(new Revision(i, 0, 1), map.get(Path.fromString("/some/test/path/node-" + i)));
              }
          }
      }
test_case.class_method_signature: MapDBMapFactoryTest.mapDB()
test_case.full_signature: @Test public void mapDB()
test_case.identifier: mapDB
test_case.invocations: create put fromString assertEquals get fromString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void mapDB()
focal_class.declarator: counter = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger counter = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: counter
focal_class.declarator: db
focal_class.modifier: private final
focal_class.original_string: private final DB db;
focal_class.type: DB
focal_class.var_name: db
focal_class.file: oak-run/src/main/java/org/apache/jackrabbit/oak/plugins/document/util/MapDBMapFactory.java
focal_class.identifier: MapDBMapFactory
focal_class.interfaces: implements Closeable
focal_class.class_method_signature: MapDBMapFactory.MapDBMapFactory()
focal_class.full_signature: public  MapDBMapFactory()
focal_class.identifier: MapDBMapFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  MapDBMapFactory()
focal_class.class_method_signature: MapDBMapFactory.create()
focal_class.full_signature: @Override public BTreeMap<Path, Revision> create()
focal_class.identifier: create
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BTreeMap<Path, Revision>
focal_class.signature: BTreeMap<Path, Revision> create()
focal_class.class_method_signature: MapDBMapFactory.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.superclass: extends MapFactory
focal_method.body: @Override
      public BTreeMap<Path, Revision> create() {
          return db.createTreeMap(String.valueOf(counter.incrementAndGet()))
                  .keySerializer(new PathSerializer())
                  .valueSerializer(new RevisionSerializer())
                  .counterEnable()
                  .make();
      }
focal_method.class_method_signature: MapDBMapFactory.create()
focal_method.full_signature: @Override public BTreeMap<Path, Revision> create()
focal_method.identifier: create
focal_method.invocations: make counterEnable valueSerializer keySerializer createTreeMap valueOf incrementAndGet
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: BTreeMap<Path, Revision>
focal_method.signature: BTreeMap<Path, Revision> create()