Enum Class的使用
org.apache.pulsar.common.api.proto.ServerError
使用ServerError的程序包
-
org.apache.pulsar.common.api.proto中ServerError的使用
修饰符和类型方法说明CommandAckResponse.getError()CommandAddPartitionToTxnResponse.getError()CommandAddSubscriptionToTxnResponse.getError()CommandEndTxnOnPartitionResponse.getError()CommandEndTxnOnSubscriptionResponse.getError()CommandEndTxnResponse.getError()CommandError.getError()CommandLookupTopicResponse.getError()CommandNewTxnResponse.getError()CommandPartitionedTopicMetadataResponse.getError()CommandSendError.getError()CommandTcClientConnectResponse.getError()CommandConsumerStatsResponse.getErrorCode()CommandGetOrCreateSchemaResponse.getErrorCode()CommandGetSchemaResponse.getErrorCode()static ServerErrorServerError.valueOf(int n) Returns the enum constant of this class with the specified name.static ServerErrorReturns the enum constant of this class with the specified name.static ServerError[]ServerError.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明CommandAckResponse.setError(ServerError error) CommandAddPartitionToTxnResponse.setError(ServerError error) CommandAddSubscriptionToTxnResponse.setError(ServerError error) CommandEndTxnOnPartitionResponse.setError(ServerError error) CommandEndTxnOnSubscriptionResponse.setError(ServerError error) CommandEndTxnResponse.setError(ServerError error) CommandError.setError(ServerError error) CommandLookupTopicResponse.setError(ServerError error) CommandNewTxnResponse.setError(ServerError error) CommandPartitionedTopicMetadataResponse.setError(ServerError error) CommandSendError.setError(ServerError error) CommandTcClientConnectResponse.setError(ServerError error) CommandConsumerStatsResponse.setErrorCode(ServerError errorCode) CommandGetOrCreateSchemaResponse.setErrorCode(ServerError errorCode) CommandGetSchemaResponse.setErrorCode(ServerError errorCode) -
org.apache.pulsar.common.protocol中ServerError的使用
修饰符和类型方法说明static io.netty.buffer.ByteBufCommands.newAckResponse(long requestId, ServerError error, String errorMsg, long consumerId) static io.netty.buffer.ByteBufCommands.newAddPartitionToTxnResponse(long requestId, long txnIdLeastBits, long txnIdMostBits, ServerError error, String errorMsg) static io.netty.buffer.ByteBufCommands.newAddSubscriptionToTxnResponse(long requestId, long txnIdLeastBits, long txnIdMostBits, ServerError error, String errorMsg) static io.netty.buffer.ByteBufCommands.newConsumerStatsResponse(ServerError serverError, String errMsg, long requestId) static BaseCommandCommands.newConsumerStatsResponseCommand(ServerError serverError, String errMsg, long requestId) static io.netty.buffer.ByteBufCommands.newEndTxnOnPartitionResponse(long requestId, ServerError error, String errorMsg, long txnIdLeastBits, long txnIdMostBits) static io.netty.buffer.ByteBufCommands.newEndTxnOnSubscriptionResponse(long requestId, long txnIdLeastBits, long txnIdMostBits, ServerError error, String errorMsg) static BaseCommandCommands.newEndTxnResponse(long requestId, long txnIdLeastBits, long txnIdMostBits, ServerError error, String errorMsg) static io.netty.buffer.ByteBufCommands.newError(long requestId, ServerError serverError, String message) static BaseCommandCommands.newErrorCommand(long requestId, ServerError serverError, String message) static io.netty.buffer.ByteBufCommands.newGetOrCreateSchemaResponseError(long requestId, ServerError error, String errorMessage) static BaseCommandCommands.newGetOrCreateSchemaResponseErrorCommand(long requestId, ServerError error, String errorMessage) static io.netty.buffer.ByteBufCommands.newGetSchemaResponseError(long requestId, ServerError error, String errorMessage) static BaseCommandCommands.newGetSchemaResponseErrorCommand(long requestId, ServerError error, String errorMessage) static io.netty.buffer.ByteBufCommands.newLookupErrorResponse(ServerError error, String errorMsg, long requestId) static BaseCommandCommands.newLookupErrorResponseCommand(ServerError error, String errorMsg, long requestId) static io.netty.buffer.ByteBufCommands.newPartitionMetadataResponse(ServerError error, String errorMsg, long requestId) static BaseCommandCommands.newPartitionMetadataResponseCommand(ServerError error, String errorMsg, long requestId) static io.netty.buffer.ByteBufCommands.newSendError(long producerId, long sequenceId, ServerError error, String errorMsg) static BaseCommandCommands.newSendErrorCommand(long producerId, long sequenceId, ServerError error, String errorMsg) static BaseCommandCommands.newTcClientConnectResponse(long requestId, ServerError error, String message) static BaseCommandCommands.newTxnResponse(long requestId, long txnIdMostBits, ServerError error, String errorMsg)