Package org.apache.kafka.clients.admin
Class TransactionDescription
- java.lang.Object
-
- org.apache.kafka.clients.admin.TransactionDescription
-
-
Constructor Summary
Constructors Constructor Description TransactionDescription(int coordinatorId, TransactionState state, long producerId, int producerEpoch, long transactionTimeoutMs, OptionalLong transactionStartTimeMs, Set<TopicPartition> topicPartitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
coordinatorId()
boolean
equals(Object o)
int
hashCode()
int
producerEpoch()
long
producerId()
TransactionState
state()
Set<TopicPartition>
topicPartitions()
String
toString()
OptionalLong
transactionStartTimeMs()
long
transactionTimeoutMs()
-
-
-
Constructor Detail
-
TransactionDescription
public TransactionDescription(int coordinatorId, TransactionState state, long producerId, int producerEpoch, long transactionTimeoutMs, OptionalLong transactionStartTimeMs, Set<TopicPartition> topicPartitions)
-
-
Method Detail
-
coordinatorId
public int coordinatorId()
-
state
public TransactionState state()
-
producerId
public long producerId()
-
producerEpoch
public int producerEpoch()
-
transactionTimeoutMs
public long transactionTimeoutMs()
-
transactionStartTimeMs
public OptionalLong transactionStartTimeMs()
-
topicPartitions
public Set<TopicPartition> topicPartitions()
-
-