class ParticipantHandle extends Object implements Serializable, TransactionConstants
| Modifier and Type | Field and Description |
|---|---|
private long |
crashcount |
private static Logger |
persistenceLogger
Logger for persistence related messages
|
private TransactionParticipant |
preparedPart
Cached reference to prepared participant.
|
private int |
prepstate |
(package private) static long |
serialVersionUID |
private StorableObject |
storedpart |
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING| Constructor and Description |
|---|
ParticipantHandle(TransactionParticipant preparedPart,
long crashcount)
Create a new node that is equivalent to that node
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
(package private) long |
getCrashCount() |
(package private) TransactionParticipant |
getPreParedParticipant() |
(package private) int |
getPrepState() |
(package private) StorableObject |
getStoredPart() |
int |
hashCode()
Return the
hashCode of the
embedded TransactionParticipant. |
(package private) void |
restoreTransientState(ProxyPreparer recoveredListenerPreparer) |
(package private) void |
setPrepState(int state) |
static final long serialVersionUID
private transient volatile TransactionParticipant preparedPart
private final StorableObject storedpart
private volatile long crashcount
private int prepstate
private static final Logger persistenceLogger
ParticipantHandle(TransactionParticipant preparedPart, long crashcount) throws RemoteException
RemoteExceptionlong getCrashCount()
TransactionParticipant getPreParedParticipant()
void restoreTransientState(ProxyPreparer recoveredListenerPreparer) throws RemoteException
RemoteExceptionStorableObject getStoredPart()
void setPrepState(int state)
int getPrepState()
public int hashCode()
hashCode of the
embedded TransactionParticipant.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.