com.sun.jini.mahalo
Class ParticipantModRecord

java.lang.Object
  extended by com.sun.jini.mahalo.ParticipantModRecord
All Implemented Interfaces:
LogRecord, TxnLogRecord, Serializable, TransactionConstants
Direct Known Subclasses:
ParticipantAbortRecord, ParticipantCommitRecord, PrepareAndCommitRecord, PrepareRecord

 class ParticipantModRecord
extends Object
implements TxnLogRecord

A LogRecord which encapsulates a generic interaction with a participant.

Author:
Sun Microsystems, Inc.

Field Summary
private static Logger operationsLogger
          Logger for operations related messages
private  ParticipantHandle part
           
private  int result
           
(package private) static long serialVersionUID
           
 
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
 
Constructor Summary
ParticipantModRecord(ParticipantHandle part, int result)
           
 
Method Summary
(package private)  ParticipantHandle getPart()
           
(package private)  int getResult()
           
 void recover(TxnManagerTransaction tmt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

operationsLogger

private static final Logger operationsLogger
Logger for operations related messages


part

private ParticipantHandle part

result

private int result
Constructor Detail

ParticipantModRecord

ParticipantModRecord(ParticipantHandle part,
                     int result)
Method Detail

getPart

ParticipantHandle getPart()

getResult

int getResult()

recover

public void recover(TxnManagerTransaction tmt)
             throws CannotRecoverException
Specified by:
recover in interface TxnLogRecord
Throws:
CannotRecoverException


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.