storm.trident.topology
Class TransactionAttempt
java.lang.Object
storm.trident.topology.TransactionAttempt
- All Implemented Interfaces:
- IBatchID
public class TransactionAttempt
- extends Object
- implements IBatchID
TransactionAttempt
public TransactionAttempt()
TransactionAttempt
public TransactionAttempt(Long txid,
int attemptId)
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.