Class TransactionOptions.Builder<B> (3.7.9)

public abstract static class TransactionOptions.Builder<B>

Inheritance

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

Type Parameter

NameDescription
B

Constructors

Builder(Executor executor)

protected Builder(Executor executor)
Parameter
NameDescription
executorExecutor

Fields

executor

protected Executor executor
Field Value
TypeDescription
Executor

Methods

build()

public abstract TransactionOptions build()
Returns
TypeDescription
TransactionOptions

an instance of TransactionOptions from the values passed to this builder

getExecutor()

public Executor getExecutor()
Returns
TypeDescription
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
NameDescription
executorExecutor

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

Returns
TypeDescription
B

this builder