org.apache.tinkerpop.gremlin.driver

## Class Client.SessionSettings

- java.lang.Object
- - org.apache.tinkerpop.gremlin.driver.Client.SessionSettings

- Enclosing class:
    Client

      public static class Client.SessionSettings
      extends Object

  Settings for a `Client` that involve a session.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Client.SessionSettings.Builder`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Client.SessionSettings.Builder` | `build()`
    `String` | `getSessionId()` Provides the identifier of the session.
    `boolean` | `isForceClosed()` Determines if the session will be force closed.
    `boolean` | `maintainStateAfterException()`
    `boolean` | `manageTransactions()` If enabled, transactions will be "managed" such that each request will represent a complete transaction.

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

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

- - ### Method Detail

    - #### manageTransactions

          public boolean manageTransactions()

      If enabled, transactions will be "managed" such that each request will represent a complete transaction.

    - #### getSessionId

          public String getSessionId()

      Provides the identifier of the session.

    - #### isForceClosed

          public boolean isForceClosed()

      Determines if the session will be force closed. See `Client.SessionSettings.Builder.forceClosed(boolean)` for more details on what that means.

    - #### maintainStateAfterException

          public boolean maintainStateAfterException()

    - #### build

          public static Client.SessionSettings.Builder build()

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