Constructor and Description |
---|
TransactionOptions() |
Modifier and Type | Method and Description |
---|---|
static Channel.TransactionOptions |
createTransactionOptions()
Create transaction options.
|
Channel.TransactionOptions |
failFast(boolean failFast)
Fail fast when there is an invalid transaction received on the eventing peer being observed.
|
Channel.TransactionOptions |
nOfEvents(Channel.NOfEvents nOfEvents)
Events reporting Eventing Peers to complete the transaction.
|
Channel.TransactionOptions |
orderers(Collection<Orderer> orderers)
The orders to try on this transaction.
|
Channel.TransactionOptions |
orderers(Orderer... orderers)
The orders to try on this transaction.
|
Channel.TransactionOptions |
shuffleOrders(boolean shuffleOrders)
Shuffle the order the Orderers are tried.
|
Channel.TransactionOptions |
userContext(User userContext)
The user context that is to be used.
|
public Channel.TransactionOptions failFast(boolean failFast)
failFast
- fail fast.public Channel.TransactionOptions userContext(User userContext)
userContext
- public Channel.TransactionOptions orderers(Orderer... orderers)
orderers
- the orderers to try.public Channel.TransactionOptions shuffleOrders(boolean shuffleOrders)
shuffleOrders
- public Channel.TransactionOptions nOfEvents(Channel.NOfEvents nOfEvents)
nOfEvents
- More details: @see Channel.NOfEvents
public static Channel.TransactionOptions createTransactionOptions()
public Channel.TransactionOptions orderers(Collection<Orderer> orderers)
orderers
- the orderers to try.Copyright © 2020. All rights reserved.