storm.trident.topology
Class TransactionAttempt

java.lang.Object
  extended by storm.trident.topology.TransactionAttempt
All Implemented Interfaces:
IBatchID

public class TransactionAttempt
extends Object
implements IBatchID


Constructor Summary
TransactionAttempt()
           
TransactionAttempt(Long txid, int attemptId)
           
 
Method Summary
 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 © 2014 The Apache Software Foundation. All Rights Reserved.