| Package | Description |
|---|---|
| org.apache.pulsar.common.api.proto | |
| org.apache.pulsar.common.protocol |
Common protocol.
|
| Modifier and Type | Method and Description |
|---|---|
TxnAction |
CommandEndTxnOnSubscription.getTxnAction() |
TxnAction |
CommandEndTxn.getTxnAction() |
TxnAction |
CommandEndTxnOnPartition.getTxnAction() |
static TxnAction |
TxnAction.valueOf(int n) |
static TxnAction |
TxnAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnAction[] |
TxnAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CommandEndTxnOnSubscription |
CommandEndTxnOnSubscription.setTxnAction(TxnAction txnAction) |
CommandEndTxn |
CommandEndTxn.setTxnAction(TxnAction txnAction) |
CommandEndTxnOnPartition |
CommandEndTxnOnPartition.setTxnAction(TxnAction txnAction) |
| Modifier and Type | Method and Description |
|---|---|
static BaseCommand |
Commands.newEndTxn(long requestId,
long txnIdLeastBits,
long txnIdMostBits,
TxnAction txnAction) |
static io.netty.buffer.ByteBuf |
Commands.newEndTxnOnPartition(long requestId,
long txnIdLeastBits,
long txnIdMostBits,
String topic,
TxnAction txnAction,
long lowWaterMark) |
static io.netty.buffer.ByteBuf |
Commands.newEndTxnOnSubscription(long requestId,
long txnIdLeastBits,
long txnIdMostBits,
String topic,
String subscription,
TxnAction txnAction,
long lowWaterMark) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.