com.atomikos.icatch
Class ParticipantLogEntry

java.lang.Object
  extended by com.atomikos.icatch.ParticipantLogEntry

public class ParticipantLogEntry
extends Object

Participant snapshot for logging and recovery purposes.


Field Summary
 String coordinatorId
          The ID of the global transaction as known by the transaction core.
 long expires
          When does this participant expire (expressed in millis since Jan 1, 1970)?
 String resourceName
          For diagnostic purposes, null if not relevant.
 TxState state
          Best-known state of the participant.
 String uri
          Identifies the participant within the global transaction.
 
Constructor Summary
ParticipantLogEntry(String coordinatorId, String uri, long expires, String resourceName, TxState state)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

coordinatorId

public final String coordinatorId
The ID of the global transaction as known by the transaction core.


uri

public final String uri
Identifies the participant within the global transaction.


expires

public final long expires
When does this participant expire (expressed in millis since Jan 1, 1970)?


state

public final TxState state
Best-known state of the participant.


resourceName

public final String resourceName
For diagnostic purposes, null if not relevant.

Constructor Detail

ParticipantLogEntry

public ParticipantLogEntry(String coordinatorId,
                           String uri,
                           long expires,
                           String resourceName,
                           TxState state)
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016. All Rights Reserved.