|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.imp.CoordinatorLogImage
public class CoordinatorLogImage
A log image for CoordinatorImp instances.
| Constructor Summary | |
|---|---|
CoordinatorLogImage()
Required by Externalizable interface. |
|
CoordinatorLogImage(String root,
TxState state,
Vector<Participant> participants,
RecoveryCoordinator coordinator,
boolean commit_on_heuristic,
long maxinquiries,
com.atomikos.icatch.imp.CoordinatorStateHandler stateHandler,
boolean single_threaded_2pc)
Constructor for non-activities. |
|
CoordinatorLogImage(String root,
TxState state,
Vector<Participant> participants,
RecoveryCoordinator coordinator,
boolean commit_on_heuristic,
long maxinquiries,
com.atomikos.icatch.imp.CoordinatorStateHandler stateHandler,
int localSiblingCount,
boolean checkSiblings,
boolean single_threaded_2pc)
Constructor for activities in active state. |
|
| Method Summary | |
|---|---|
Object |
getId()
|
void |
readData(DataInput in)
|
void |
readExternal(ObjectInput in)
|
Recoverable |
restore()
Restore an equivalent replica of the original instance. |
void |
writeData(DataOutput out)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordinatorLogImage()
public CoordinatorLogImage(String root,
TxState state,
Vector<Participant> participants,
RecoveryCoordinator coordinator,
boolean commit_on_heuristic,
long maxinquiries,
com.atomikos.icatch.imp.CoordinatorStateHandler stateHandler,
boolean single_threaded_2pc)
root - state - participants - coordinator - commit_on_heuristic - maxinquiries - stateHandler - single_threaded_2pc -
public CoordinatorLogImage(String root,
TxState state,
Vector<Participant> participants,
RecoveryCoordinator coordinator,
boolean commit_on_heuristic,
long maxinquiries,
com.atomikos.icatch.imp.CoordinatorStateHandler stateHandler,
int localSiblingCount,
boolean checkSiblings,
boolean single_threaded_2pc)
root - state - participants - coordinator - commit_on_heuristic - maxinquiries - stateHandler - localSiblingCount - checkSiblings - single_threaded_2pc - | Method Detail |
|---|
public Object getId()
getId in interface Identifiable
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic Recoverable restore()
ObjectImage
restore in interface ObjectImage
public void writeData(DataOutput out)
throws IOException
writeData in interface DataSerializableIOException
public void readData(DataInput in)
throws IOException
readData in interface DataSerializableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||