test_class.file: gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GraphManagerTest.java
test_class.identifier: GraphManagerTest
test_case.body: @Test
      public void shouldReturnGraphs() {
          final Settings settings = Settings.read(GraphManagerTest.class.getResourceAsStream("gremlin-server-integration.yaml"));
          final GraphManager graphManager = new GraphManager(settings);
          final Map<String, Graph> m = graphManager.getGraphs();
  
          assertNotNull(m);
          assertEquals(1, m.size());
          assertThat(m.containsKey("graph"), is(true));
          assertThat(m.get("graph"), instanceOf(TinkerGraph.class));
      }
test_case.class_method_signature: GraphManagerTest.shouldReturnGraphs()
test_case.full_signature: @Test public void shouldReturnGraphs()
test_case.identifier: shouldReturnGraphs
test_case.invocations: read getResourceAsStream getGraphs assertNotNull assertEquals size assertThat containsKey is assertThat get instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldReturnGraphs()
focal_class.declarator: logger = LoggerFactory.getLogger(GremlinServer.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(GremlinServer.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: graphs = new ConcurrentHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Graph> graphs = new ConcurrentHashMap<>();
focal_class.type: Map<String, Graph>
focal_class.var_name: graphs
focal_class.declarator: traversalSources = new ConcurrentHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, TraversalSource> traversalSources = new ConcurrentHashMap<>();
focal_class.type: Map<String, TraversalSource>
focal_class.var_name: traversalSources
focal_class.file: gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/GraphManager.java
focal_class.identifier: GraphManager
focal_class.class_method_signature: GraphManager.GraphManager(final Settings settings)
focal_class.full_signature: public  GraphManager(final Settings settings)
focal_class.identifier: GraphManager
focal_class.modifiers: public
focal_class.parameters: (final Settings settings)
focal_class.signature:  GraphManager(final Settings settings)
focal_class.class_method_signature: GraphManager.getGraphs()
focal_class.full_signature: public Map<String, Graph> getGraphs()
focal_class.identifier: getGraphs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, Graph>
focal_class.signature: Map<String, Graph> getGraphs()
focal_class.class_method_signature: GraphManager.getTraversalSources()
focal_class.full_signature: public Map<String, TraversalSource> getTraversalSources()
focal_class.identifier: getTraversalSources
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, TraversalSource>
focal_class.signature: Map<String, TraversalSource> getTraversalSources()
focal_class.class_method_signature: GraphManager.getAsBindings()
focal_class.full_signature: public Bindings getAsBindings()
focal_class.identifier: getAsBindings
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Bindings
focal_class.signature: Bindings getAsBindings()
focal_class.class_method_signature: GraphManager.rollbackAll()
focal_class.full_signature: public void rollbackAll()
focal_class.identifier: rollbackAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rollbackAll()
focal_class.class_method_signature: GraphManager.rollback(final Set<String> graphSourceNamesToCloseTxOn)
focal_class.full_signature: public void rollback(final Set<String> graphSourceNamesToCloseTxOn)
focal_class.identifier: rollback
focal_class.modifiers: public
focal_class.parameters: (final Set<String> graphSourceNamesToCloseTxOn)
focal_class.return: void
focal_class.signature: void rollback(final Set<String> graphSourceNamesToCloseTxOn)
focal_class.class_method_signature: GraphManager.commitAll()
focal_class.full_signature: public void commitAll()
focal_class.identifier: commitAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void commitAll()
focal_class.class_method_signature: GraphManager.commit(final Set<String> graphSourceNamesToCloseTxOn)
focal_class.full_signature: public void commit(final Set<String> graphSourceNamesToCloseTxOn)
focal_class.identifier: commit
focal_class.modifiers: public
focal_class.parameters: (final Set<String> graphSourceNamesToCloseTxOn)
focal_class.return: void
focal_class.signature: void commit(final Set<String> graphSourceNamesToCloseTxOn)
focal_class.class_method_signature: GraphManager.closeTx(final Set<String> graphSourceNamesToCloseTxOn, final Transaction.Status tx)
focal_class.full_signature: private void closeTx(final Set<String> graphSourceNamesToCloseTxOn, final Transaction.Status tx)
focal_class.identifier: closeTx
focal_class.modifiers: private
focal_class.parameters: (final Set<String> graphSourceNamesToCloseTxOn, final Transaction.Status tx)
focal_class.return: void
focal_class.signature: void closeTx(final Set<String> graphSourceNamesToCloseTxOn, final Transaction.Status tx)
focal_method.body: public Map<String, Graph> getGraphs() {
          return graphs;
      }
focal_method.class_method_signature: GraphManager.getGraphs()
focal_method.full_signature: public Map<String, Graph> getGraphs()
focal_method.identifier: getGraphs
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Map<String, Graph>
focal_method.signature: Map<String, Graph> getGraphs()