com.sun.jini.mahalo
Class AbortRecord
java.lang.Object
com.sun.jini.mahalo.AbortRecord
- All Implemented Interfaces:
- LogRecord, TxnLogRecord, Serializable, TransactionConstants
class AbortRecord
- extends Object
- implements TxnLogRecord
An AbortRecord
represents the logged state of
a Transaction
which has changed to the ABORTED
state.
- Author:
- Sun Microsystems, Inc.
Constructor Summary |
AbortRecord(ParticipantHandle[] parts)
Constructs an AbortRecord which represents a
Transaction which has moved to the ABORTED state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parts
private ParticipantHandle[] parts
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
logger
static final Logger logger
AbortRecord
AbortRecord(ParticipantHandle[] parts)
- Constructs an
AbortRecord
which represents a
Transaction
which has moved to the ABORTED state.
- Parameters:
parts
- The array of participants joined in the transaction- See Also:
Transaction
,
TransactionParticipant
,
TransactionConstants
recover
public void recover(TxnManagerTransaction tmt)
throws CannotRecoverException
- Recovers the state encapsulated the
AbortRecord
to
the caller.
- Specified by:
recover
in interface TxnLogRecord
- Parameters:
tmt
- The TxnManagerTransaction
to which
state is recovered.
- Throws:
CannotRecoverException
- See Also:
TxnManagerTransaction
getParts
ParticipantHandle[] getParts()
- Retrieves the set of
TransactionParticipant
s associated
with the recovered Transaction
.
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.