@InternalExtensionOnly public abstract static class TransactionOptions.Builder<B extends TransactionOptions.Builder<B>> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
abstract TransactionOptions |
build() |
Executor |
getExecutor() |
B |
setExecutor(Executor executor) |
@Nullable public Executor getExecutor()
Executor user callbacks will execute on, If null, the default executor
will be used.@Nonnull public B setExecutor(@Nullable Executor executor)
executor - The Executor user callbacks will executed on. If null, the default
executor will be used.this builder@Nonnull public abstract TransactionOptions build()
TransactionOptions from the values passed to this builderCopyright © 2022 Google LLC. All rights reserved.