Class Client.SessionSettings
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.driver.Client.SessionSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClient.SessionSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Client.SessionSettings.Builderbuild()StringgetSessionId()Provides the identifier of the session.booleanisForceClosed()Determines if the session will be force closed.booleanmaintainStateAfterException()booleanmanageTransactions()If enabled, transactions will be "managed" such that each request will represent a complete transaction.
-
-
-
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. SeeClient.SessionSettings.Builder.forceClosed(boolean)for more details on what that means.
-
maintainStateAfterException
public boolean maintainStateAfterException()
-
build
public static Client.SessionSettings.Builder build()
-
-