Class SpannerOptions.SpannerCallContextTimeoutConfigurator (2.22.0)

public static class SpannerOptions.SpannerCallContextTimeoutConfigurator implements SpannerOptions.CallContextConfigurator

Inheritance

java.lang.Object > SpannerOptions.SpannerCallContextTimeoutConfigurator

Static Methods

create()

public static SpannerOptions.SpannerCallContextTimeoutConfigurator create()
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

Methods

<ReqT,RespT>configure(ApiCallContext arg0, ReqT arg1, MethodDescriptor<ReqT,RespT> arg2)

public ApiCallContext <ReqT,RespT>configure(ApiCallContext arg0, ReqT arg1, MethodDescriptor<ReqT,RespT> arg2)
Parameters
Name Description
arg0 ApiCallContext
arg1 ReqT
arg2 io.grpc.MethodDescriptor<ReqT,RespT>
Returns
Type Description
ApiCallContext

getBatchUpdateTimeout()

public Duration getBatchUpdateTimeout()
Returns
Type Description
org.threeten.bp.Duration

getCommitTimeout()

public Duration getCommitTimeout()
Returns
Type Description
org.threeten.bp.Duration

getExecuteQueryTimeout()

public Duration getExecuteQueryTimeout()
Returns
Type Description
org.threeten.bp.Duration

getExecuteUpdateTimeout()

public Duration getExecuteUpdateTimeout()
Returns
Type Description
org.threeten.bp.Duration

getPartitionQueryTimeout()

public Duration getPartitionQueryTimeout()
Returns
Type Description
org.threeten.bp.Duration

getPartitionReadTimeout()

public Duration getPartitionReadTimeout()
Returns
Type Description
org.threeten.bp.Duration

getReadTimeout()

public Duration getReadTimeout()
Returns
Type Description
org.threeten.bp.Duration

getRollbackTimeout()

public Duration getRollbackTimeout()
Returns
Type Description
org.threeten.bp.Duration

withBatchUpdateTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withBatchUpdateTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withCommitTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withCommitTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withExecuteQueryTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withExecuteQueryTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withExecuteUpdateTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withExecuteUpdateTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withPartitionQueryTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withPartitionQueryTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withPartitionReadTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withPartitionReadTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withReadTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withReadTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator

withRollbackTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withRollbackTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator