Class SpannerOptions.SpannerCallContextTimeoutConfigurator (2.25.1)

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

getBatchUpdateTimeoutDuration()

public Duration getBatchUpdateTimeoutDuration()
Returns
Type Description
Duration

getCommitTimeout()

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

getCommitTimeoutDuration()

public Duration getCommitTimeoutDuration()
Returns
Type Description
Duration

getExecuteQueryTimeout()

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

getExecuteQueryTimeoutDuration()

public Duration getExecuteQueryTimeoutDuration()
Returns
Type Description
Duration

getExecuteUpdateTimeout()

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

getExecuteUpdateTimeoutDuration()

public Duration getExecuteUpdateTimeoutDuration()
Returns
Type Description
Duration

getPartitionQueryTimeout()

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

getPartitionQueryTimeoutDuration()

public Duration getPartitionQueryTimeoutDuration()
Returns
Type Description
Duration

getPartitionReadTimeout()

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

getPartitionReadTimeoutDuration()

public Duration getPartitionReadTimeoutDuration()
Returns
Type Description
Duration

getReadTimeout()

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

getReadTimeoutDuration()

public Duration getReadTimeoutDuration()
Returns
Type Description
Duration

getRollbackTimeout()

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

getRollbackTimeoutDuration()

public Duration getRollbackTimeoutDuration()
Returns
Type Description
Duration

withBatchUpdateTimeout(Duration arg0)

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

withBatchUpdateTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withBatchUpdateTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withCommitTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withCommitTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withExecuteQueryTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withExecuteQueryTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withExecuteUpdateTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withExecuteUpdateTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withPartitionQueryTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withPartitionQueryTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withPartitionReadTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withPartitionReadTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withReadTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withReadTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 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

withRollbackTimeoutDuration(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withRollbackTimeoutDuration(Duration arg0)
Parameter
Name Description
arg0 Duration
Returns
Type Description
SpannerOptions.SpannerCallContextTimeoutConfigurator