public class RESTRecord extends com.arjuna.ats.arjuna.coordinator.AbstractRecord implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
log |
| Constructor and Description |
|---|
RESTRecord() |
RESTRecord(String txId,
String coordinatorURI,
String participantURI,
String terminateURI) |
RESTRecord(String txId,
String coordinatorURI,
String participantURI,
String commitURI,
String prepareURI,
String rollbackURI,
String commitOnePhaseURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
alter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
int |
compareTo(Object o) |
boolean |
doSave() |
boolean |
forgetHeuristic() |
long |
getAge() |
String |
getCoordinatorURI() |
protected String |
getParticipantURI() |
String |
getRecoveryURI() |
String |
getStatus() |
String |
getTxId() |
String |
httpRequest(int[] expect,
String url,
String method,
String mediaType,
String content,
Map<String,String> linkHeaders,
Map<String,String> reqHeaders) |
void |
merge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a) |
int |
nestedAbort() |
int |
nestedCommit() |
int |
nestedOnePhaseCommit() |
int |
nestedPrepare() |
boolean |
restore_state(com.arjuna.ats.arjuna.state.InputObjectState os,
int t) |
boolean |
save_state(com.arjuna.ats.arjuna.state.OutputObjectState os,
int t) |
void |
setFault(String name) |
void |
setRecoveryURI(String recoveryURI) |
void |
setValue(Object o) |
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 a) |
int |
topLevelAbort() |
int |
topLevelCommit() |
int |
topLevelOnePhaseCommit()
For commit_one_phase we can do whatever we want since the transaction
outcome is whatever we want.
|
int |
topLevelPrepare() |
String |
type() |
int |
typeIs() |
static String |
typeName() |
Object |
value() |
create, equals, getNext, getPrevious, getTypeOfObject, greaterThan, lessThan, nestedCleanup, order, print, propagateOnAbort, propagateOnCommit, 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 RESTRecord()
public RESTRecord(String txId, String coordinatorURI, String participantURI, String terminateURI)
public String getCoordinatorURI()
public String getTxId()
public String getRecoveryURI()
protected String getParticipantURI()
public int typeIs()
typeIs in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic Object value()
value in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic String getStatus()
public long getAge()
public 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 boolean forgetHeuristic()
forgetHeuristic in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int topLevelPrepare()
topLevelPrepare 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 nestedOnePhaseCommit()
nestedOnePhaseCommit in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic int topLevelOnePhaseCommit()
topLevelOnePhaseCommit 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 boolean restore_state(com.arjuna.ats.arjuna.state.InputObjectState os,
int t)
restore_state in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic String type()
type in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic static String typeName()
public 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 a)
shouldReplace in class com.arjuna.ats.arjuna.coordinator.AbstractRecordpublic void setRecoveryURI(String recoveryURI)
public void setFault(String name)
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2018 JBoss by Red Hat. All rights reserved.