Enum Class的使用
org.apache.pulsar.common.api.proto.CommandSubscribe.SubType
使用CommandSubscribe.SubType的程序包
-
org.apache.pulsar.common.api.proto中CommandSubscribe.SubType的使用
修饰符和类型方法说明CommandSubscribe.getSubType()static CommandSubscribe.SubTypeCommandSubscribe.SubType.valueOf(int n) Returns the enum constant of this class with the specified name.static CommandSubscribe.SubTypeReturns the enum constant of this class with the specified name.static CommandSubscribe.SubType[]CommandSubscribe.SubType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
org.apache.pulsar.common.protocol中CommandSubscribe.SubType的使用
修饰符和类型方法说明static io.netty.buffer.ByteBufCommands.newSubscribe(String topic, String subscription, long consumerId, long requestId, CommandSubscribe.SubType subType, int priorityLevel, String consumerName, boolean isDurable, MessageIdData startMessageId, Map<String, String> metadata, boolean readCompacted, boolean isReplicated, CommandSubscribe.InitialPosition subscriptionInitialPosition, long startMessageRollbackDurationInSec, SchemaInfo schemaInfo, boolean createTopicIfDoesNotExist) static io.netty.buffer.ByteBufCommands.newSubscribe(String topic, String subscription, long consumerId, long requestId, CommandSubscribe.SubType subType, int priorityLevel, String consumerName, boolean isDurable, MessageIdData startMessageId, Map<String, String> metadata, boolean readCompacted, boolean isReplicated, CommandSubscribe.InitialPosition subscriptionInitialPosition, long startMessageRollbackDurationInSec, SchemaInfo schemaInfo, boolean createTopicIfDoesNotExist, KeySharedPolicy keySharedPolicy, Map<String, String> subscriptionProperties, long consumerEpoch) static io.netty.buffer.ByteBufCommands.newSubscribe(String topic, String subscription, long consumerId, long requestId, CommandSubscribe.SubType subType, int priorityLevel, String consumerName, long resetStartMessageBackInSeconds)