Class Client.SessionSettings
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.driver.Client.SessionSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Client.SessionSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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()
-
-