public class RESTRecord
extends com.arjuna.ats.arjuna.coordinator.AbstractRecord
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) |
boolean |
doSave() |
boolean |
forgetHeuristic() |
long |
getAge() |
String |
getStatus() |
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, topLevelCleanup
activate, 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, unpackHeader
public RESTRecord()
public RESTRecord(String txId, String coordinatorURI, String participantURI, String terminateURI)
public int typeIs()
typeIs
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public Object value()
value
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public String getStatus()
public long getAge()
public void setValue(Object o)
setValue
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int nestedAbort()
nestedAbort
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int nestedCommit()
nestedCommit
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int nestedPrepare()
nestedPrepare
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean forgetHeuristic()
forgetHeuristic
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int topLevelPrepare()
topLevelPrepare
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int topLevelAbort()
topLevelAbort
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int topLevelCommit()
topLevelCommit
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int nestedOnePhaseCommit()
nestedOnePhaseCommit
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public int topLevelOnePhaseCommit()
topLevelOnePhaseCommit
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean save_state(com.arjuna.ats.arjuna.state.OutputObjectState os, int t)
save_state
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean restore_state(com.arjuna.ats.arjuna.state.InputObjectState os, int t)
restore_state
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public String type()
type
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public static String typeName()
public boolean doSave()
doSave
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public void merge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
merge
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public void alter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
alter
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean shouldAdd(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldAdd
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean shouldAlter(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldAlter
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean shouldMerge(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldMerge
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public boolean shouldReplace(com.arjuna.ats.arjuna.coordinator.AbstractRecord a)
shouldReplace
in class com.arjuna.ats.arjuna.coordinator.AbstractRecord
public void setRecoveryURI(String recoveryURI)
public void setFault(String name)
Copyright © 2013. All rights reserved.