org.apache.tinkerpop.gremlin.server.util

## Class CheckedGraphManager

- java.lang.Object
- - org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager
  - - org.apache.tinkerpop.gremlin.server.util.CheckedGraphManager

- All Implemented Interfaces:
    GraphManager

      public class CheckedGraphManager
      extends DefaultGraphManager

  A `GraphManager` that will prevent Gremlin Server from starting if all configured graphs fail.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CheckedGraphManager(Settings settings)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addGraph(String name, String configurationFile)`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager

      `commit, commitAll, getAsBindings, getGraph, getGraphNames, getTraversalSource, getTraversalSourceNames, openGraph, putGraph, putTraversalSource, removeGraph, removeTraversalSource, rollback, rollbackAll`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.server.GraphManager

      `hasAnyOpenTransactions`

- - ### Constructor Detail

    - #### CheckedGraphManager

          public CheckedGraphManager(Settings settings)

  - ### Method Detail

    - #### addGraph

          protected void addGraph(String name,
                                  String configurationFile)

      Overrides:
        `addGraph` in class `DefaultGraphManager`

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.