AmqpTransaction Class
- java.
lang. Object - com.
azure. core. amqp. AmqpTransaction
- com.
public class AmqpTransaction
Represents transaction in message broker. It does not do any network operation on its own. It contains meta data about transaction such as transaction id.
Constructor Summary
Constructor | Description |
---|---|
AmqpTransaction(ByteBuffer transactionId) |
Creates AmqpTransaction given |
Method Summary
Modifier and Type | Method and Description |
---|---|
Byte |
getTransactionId()
Gets the id for this transaction. |
String |
toString()
String representation of the transaction id. |
Methods inherited from java.lang.Object
Constructor Details
AmqpTransaction
public AmqpTransaction(ByteBuffer transactionId)
Creates AmqpTransaction given transactionId
.
Parameters:
transactionId
- The id for this transaction.
Method Details
getTransactionId
public ByteBuffer getTransactionId()
Gets the id for this transaction.
Returns:
The id for this transaction.
toString
public String toString()
String representation of the transaction id.
Overrides:
AmqpTransaction.toString()Returns:
string representation of the transaction id.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java