org.apache.storm.trident.topology

## Class TransactionAttempt

- java.lang.Object
- - org.apache.storm.trident.topology.TransactionAttempt

- All Implemented Interfaces:
    IBatchID

      public class TransactionAttempt
      extends Object
      implements IBatchID

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransactionAttempt()`
    `TransactionAttempt(Long txid, int attemptId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `getAttemptId()`
    `Object` | `getId()`
    `Long` | `getTransactionId()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### TransactionAttempt

          public TransactionAttempt()

    - #### TransactionAttempt

          public TransactionAttempt(Long txid,
                                    int attemptId)

  - ### Method Detail

    - #### getTransactionId

          public Long getTransactionId()

    - #### getId

          public Object getId()

      Specified by:
        `getId` in interface `IBatchID`

    - #### getAttemptId

          public int getAttemptId()

      Specified by:
        `getAttemptId` in interface `IBatchID`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2021 The Apache Software Foundation. All rights reserved.