Package 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
  Description
  `TransactionAttempt()`
  `TransactionAttempt(Long txid, int attemptId)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### TransactionAttempt

    public TransactionAttempt()

  - ### TransactionAttempt

    public TransactionAttempt(Long txid, int attemptId)

- ## Method Details

  - ### 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`