Class TransactionOptions.Builder<B> (3.21.4)

public abstract static class TransactionOptions.Builder<B>

Inheritance

java.lang.Object > TransactionOptions.Builder<B>

Type Parameter

Name Description
B

Constructors

Builder(Executor executor)

protected Builder(Executor executor)
Parameter
Name Description
executor Executor

Fields

executor

protected Executor executor
Field Value
Type Description
Executor

Methods

build()

public abstract TransactionOptions build()
Returns
Type Description
TransactionOptions

an instance of TransactionOptions from the values passed to this builder

getExecutor()

public Executor getExecutor()
Returns
Type Description
Executor

The Executor user callbacks will execute on, If null, the default executor will be used.

setExecutor(Executor executor)

public B setExecutor(Executor executor)
Parameter
Name Description
executor Executor

The Executor user callbacks will executed on. If null, the default executor will be used.

Returns
Type Description
B

this builder