Enum Class BoltConnector.KeepAliveRequestType
java.lang.Object
java.lang.Enum<BoltConnector.KeepAliveRequestType>
org.neo4j.configuration.connectors.BoltConnector.KeepAliveRequestType
- All Implemented Interfaces:
Serializable
,Comparable<BoltConnector.KeepAliveRequestType>
,Constable
- Enclosing class:
- BoltConnector
public static enum BoltConnector.KeepAliveRequestType
extends Enum<BoltConnector.KeepAliveRequestType>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BoltConnector.KeepAliveRequestType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
Causes keep-alive messages to be sent while the server is computing a response to a given driver command. -
STREAMING
Deprecated, for removal: This API element is subject to removal in a future version.Causes keep-alive messages to be sent only while streaming results. -
OFF
Disables keep-alive messages entirely.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-