Enum Class的使用
org.apache.pulsar.client.api.transaction.Transaction.State
使用Transaction.State的程序包
-
org.apache.pulsar.client.api.transaction中Transaction.State的使用
修饰符和类型方法说明Transaction.getState()Get transaction state.static Transaction.StateReturns the enum constant of this class with the specified name.static Transaction.State[]Transaction.State.values()Returns an array containing the constants of this enum class, in the order they are declared.