| Package | Description |
|---|---|
| org.apache.pulsar.common.api.proto | |
| org.apache.pulsar.common.protocol |
Common protocol.
|
| Modifier and Type | Method and Description |
|---|---|
ServerError |
CommandAddPartitionToTxnResponse.getError() |
ServerError |
CommandAckResponse.getError() |
ServerError |
CommandPartitionedTopicMetadataResponse.getError() |
ServerError |
CommandError.getError() |
ServerError |
CommandEndTxnResponse.getError() |
ServerError |
CommandEndTxnOnPartitionResponse.getError() |
ServerError |
CommandNewTxnResponse.getError() |
ServerError |
CommandSendError.getError() |
ServerError |
CommandAddSubscriptionToTxnResponse.getError() |
ServerError |
CommandLookupTopicResponse.getError() |
ServerError |
CommandEndTxnOnSubscriptionResponse.getError() |
ServerError |
CommandGetOrCreateSchemaResponse.getErrorCode() |
ServerError |
CommandGetSchemaResponse.getErrorCode() |
ServerError |
CommandConsumerStatsResponse.getErrorCode() |
static ServerError |
ServerError.valueOf(int n) |
static ServerError |
ServerError.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerError[] |
ServerError.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
Commands.newAckResponse(long requestId,
ServerError error,
String errorMsg,
long consumerId) |
static io.netty.buffer.ByteBuf |
Commands.newAddPartitionToTxnResponse(long requestId,
long txnIdMostBits,
ServerError error,
String errorMsg) |
static io.netty.buffer.ByteBuf |
Commands.newAddSubscriptionToTxnResponse(long requestId,
long txnIdMostBits,
ServerError error,
String errorMsg) |
static io.netty.buffer.ByteBuf |
Commands.newConsumerStatsResponse(ServerError serverError,
String errMsg,
long requestId) |
static BaseCommand |
Commands.newConsumerStatsResponseCommand(ServerError serverError,
String errMsg,
long requestId) |
static io.netty.buffer.ByteBuf |
Commands.newEndTxnOnPartitionResponse(long requestId,
ServerError error,
String errorMsg,
long txnIdLeastBits,
long txnIdMostBits) |
static io.netty.buffer.ByteBuf |
Commands.newEndTxnOnSubscriptionResponse(long requestId,
long txnIdLeastBits,
long txnIdMostBits,
ServerError error,
String errorMsg) |
static io.netty.buffer.ByteBuf |
Commands.newEndTxnResponse(long requestId,
long txnIdMostBits,
ServerError error,
String errorMsg) |
static io.netty.buffer.ByteBuf |
Commands.newError(long requestId,
ServerError serverError,
String message) |
static BaseCommand |
Commands.newErrorCommand(long requestId,
ServerError serverError,
String message) |
static io.netty.buffer.ByteBuf |
Commands.newGetOrCreateSchemaResponseError(long requestId,
ServerError error,
String errorMessage) |
static BaseCommand |
Commands.newGetOrCreateSchemaResponseErrorCommand(long requestId,
ServerError error,
String errorMessage) |
static io.netty.buffer.ByteBuf |
Commands.newGetSchemaResponseError(long requestId,
ServerError error,
String errorMessage) |
static BaseCommand |
Commands.newGetSchemaResponseErrorCommand(long requestId,
ServerError error,
String errorMessage) |
static io.netty.buffer.ByteBuf |
Commands.newLookupErrorResponse(ServerError error,
String errorMsg,
long requestId) |
static BaseCommand |
Commands.newLookupErrorResponseCommand(ServerError error,
String errorMsg,
long requestId) |
static io.netty.buffer.ByteBuf |
Commands.newPartitionMetadataResponse(ServerError error,
String errorMsg,
long requestId) |
static BaseCommand |
Commands.newPartitionMetadataResponseCommand(ServerError error,
String errorMsg,
long requestId) |
static io.netty.buffer.ByteBuf |
Commands.newSendError(long producerId,
long sequenceId,
ServerError error,
String errorMsg) |
static BaseCommand |
Commands.newSendErrorCommand(long producerId,
long sequenceId,
ServerError error,
String errorMsg) |
static io.netty.buffer.ByteBuf |
Commands.newTxnResponse(long requestId,
long txnIdMostBits,
ServerError error,
String errorMsg) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.