public class ParticipantRecord
extends com.arjuna.ats.arjuna.coordinator.AbstractRecord
| Constructor and Description |
|---|
ParticipantRecord() |
ParticipantRecord(Participant theResource,
com.arjuna.ats.arjuna.common.Uid id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
alter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
static com.arjuna.ats.arjuna.coordinator.AbstractRecord |
create() |
boolean |
doSave() |
boolean |
forgetHeuristic()
The record generated a heuristic and can now forget about it.
|
void |
merge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
int |
nestedAbort()
The record is being driven through nested rollback.
|
int |
nestedCommit()
The record is being driven through nested commit.
|
int |
nestedOnePhaseCommit()
The record is being driven through nested commit and is the only
resource.
|
int |
nestedPrepare()
The record is being driven through nested prepare.
|
void |
print(PrintWriter strm) |
boolean |
propagateOnCommit()
Override AbstractRecord.propagateOnCommit
|
void |
readonly() |
boolean |
restore_state(com.arjuna.ats.arjuna.state.InputObjectState os,
int t) |
void |
rolledback() |
boolean |
save_state(com.arjuna.ats.arjuna.state.OutputObjectState os,
int t) |
void |
setValue(Object o)
Set the internal value.
|
boolean |
shouldAdd(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
boolean |
shouldAlter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
boolean |
shouldMerge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
boolean |
shouldReplace(com.arjuna.ats.arjuna.coordinator.AbstractRecord rec) |
int |
topLevelAbort()
The record is being driven through top-level rollback.
|
int |
topLevelCommit()
The record is being driven through top-level commit.
|
int |
topLevelOnePhaseCommit()
The record is being driven through top-level commit and is the only
resource.
|
int |
topLevelPrepare()
The record is being driven through top-level prepare.
|
String |
type() |
int |
typeIs()
The type of this abstract record.
|
Object |
value()
The internal value.
|
create, equals, getNext, getPrevious, getTypeOfObject, greaterThan, lessThan, nestedCleanup, order, propagateOnAbort, replace, setNext, setPrevious, topLevelCleanupactivate, activate, cleanup, createLists, deactivate, deactivate, deactivate, destroy, disable, forgetAction, get_uid, getMutex, getObjectModel, getStore, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, rememberAction, setStatus, setupStore, setupStore, setupStore, status, terminate, tryLockMutex, unlockMutex, unpackHeaderpublic ParticipantRecord(Participant theResource, com.arjuna.ats.arjuna.common.Uid id)
theResource - is the proxy that allows us to call out to the object.public ParticipantRecord()
public boolean propagateOnCommit()
propagateOnCommit in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int typeIs()
typeIs in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic Object value()
value in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic void setValue(Object o)
setValue in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int nestedAbort()
nestedAbort in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int nestedCommit()
nestedCommit in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int nestedPrepare()
nestedPrepare in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int topLevelAbort()
topLevelAbort in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int topLevelCommit()
topLevelCommit in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int topLevelPrepare()
topLevelPrepare in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int nestedOnePhaseCommit()
nestedOnePhaseCommit in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int topLevelOnePhaseCommit()
topLevelOnePhaseCommit in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean forgetHeuristic()
forgetHeuristic in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic static com.arjuna.ats.arjuna.coordinator.AbstractRecord create()
public void print(PrintWriter strm)
print in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean restore_state(com.arjuna.ats.arjuna.state.InputObjectState os,
int t)
restore_state in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean save_state(com.arjuna.ats.arjuna.state.OutputObjectState os,
int t)
save_state in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic String type()
type in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean doSave()
doSave in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic void merge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
merge in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic void alter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
alter in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean shouldAdd(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldAdd in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean shouldAlter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldAlter in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean shouldMerge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldMerge in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic boolean shouldReplace(com.arjuna.ats.arjuna.coordinator.AbstractRecord rec)
shouldReplace in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic final void rolledback()
public final void readonly()
Copyright © 2018 JBoss by Red Hat. All rights reserved.