com.sun.jini.mahalo
Class ParticipantHandle
java.lang.Object
com.sun.jini.mahalo.ParticipantHandle
- All Implemented Interfaces:
- Serializable, TransactionConstants
class ParticipantHandle
- extends Object
- implements Serializable, TransactionConstants
- Author:
- Sun Microsystems, Inc.
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
preparedPart
private transient TransactionParticipant preparedPart
- Cached reference to prepared participant.
storedpart
private StorableObject storedpart
crashcount
private long crashcount
prepstate
private int prepstate
persistenceLogger
private static final Logger persistenceLogger
- Logger for persistence related messages
ParticipantHandle
ParticipantHandle(TransactionParticipant preparedPart,
long crashcount)
throws RemoteException
- Create a new node that is equivalent to that node
- Throws:
RemoteException
getCrashCount
long getCrashCount()
getPreParedParticipant
TransactionParticipant getPreParedParticipant()
restoreTransientState
void restoreTransientState(ProxyPreparer recoveredListenerPreparer)
throws RemoteException
- Throws:
RemoteException
getStoredPart
StorableObject getStoredPart()
setPrepState
void setPrepState(int state)
getPrepState
int getPrepState()
hashCode
public int hashCode()
- Return the
hashCode
of the
embedded TransactionParticipant
.
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.