Class SessionPoolOptionsHelper (6.79.0)

public class SessionPoolOptionsHelper

Simple helper class to get access to a package-private method in the com.google.cloud.spanner.SessionPoolOptions.

Inheritance

java.lang.Object > SessionPoolOptionsHelper

Static Methods

setUseMultiplexedSession(SessionPoolOptions.Builder sessionPoolOptionsBuilder, boolean useMultiplexedSession)

public static SessionPoolOptions.Builder setUseMultiplexedSession(SessionPoolOptions.Builder sessionPoolOptionsBuilder, boolean useMultiplexedSession)
Parameters
Name Description
sessionPoolOptionsBuilder SessionPoolOptions.Builder
useMultiplexedSession boolean
Returns
Type Description
SessionPoolOptions.Builder

setUseMultiplexedSessionBlindWrite(SessionPoolOptions.Builder sessionPoolOptionsBuilder, boolean useMultiplexedSessionBlindWrite)

public static SessionPoolOptions.Builder setUseMultiplexedSessionBlindWrite(SessionPoolOptions.Builder sessionPoolOptionsBuilder, boolean useMultiplexedSessionBlindWrite)
Parameters
Name Description
sessionPoolOptionsBuilder SessionPoolOptions.Builder
useMultiplexedSessionBlindWrite boolean
Returns
Type Description
SessionPoolOptions.Builder

Constructors

SessionPoolOptionsHelper()

public SessionPoolOptionsHelper()