Class SpannerOptions.SpannerCallContextTimeoutConfigurator (2.15.3)

public static class SpannerOptions.SpannerCallContextTimeoutConfigurator implements SpannerOptions.CallContextConfigurator

Inheritance

java.lang.Object > SpannerOptions.SpannerCallContextTimeoutConfigurator

Static Methods

create()

public static SpannerOptions.SpannerCallContextTimeoutConfigurator create()
Returns
TypeDescription
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
NameDescription
arg0ApiCallContext
arg1ReqT
arg2io.grpc.MethodDescriptor<ReqT,RespT>
Returns
TypeDescription
ApiCallContext

getBatchUpdateTimeout()

public Duration getBatchUpdateTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getCommitTimeout()

public Duration getCommitTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getExecuteQueryTimeout()

public Duration getExecuteQueryTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getExecuteUpdateTimeout()

public Duration getExecuteUpdateTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getPartitionQueryTimeout()

public Duration getPartitionQueryTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getPartitionReadTimeout()

public Duration getPartitionReadTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getReadTimeout()

public Duration getReadTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

getRollbackTimeout()

public Duration getRollbackTimeout()
Returns
TypeDescription
org.threeten.bp.Duration

withBatchUpdateTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withBatchUpdateTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withCommitTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withCommitTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withExecuteQueryTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withExecuteQueryTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withExecuteUpdateTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withExecuteUpdateTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withPartitionQueryTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withPartitionQueryTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withPartitionReadTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withPartitionReadTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withReadTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withReadTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator

withRollbackTimeout(Duration arg0)

public SpannerOptions.SpannerCallContextTimeoutConfigurator withRollbackTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SpannerOptions.SpannerCallContextTimeoutConfigurator