|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteStub
com.atomikos.icatch.trmi.TrmiTransactionManager_Stub
public final class TrmiTransactionManager_Stub
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
TrmiTransactionManager_Stub()
|
|
TrmiTransactionManager_Stub(RemoteRef ref)
|
|
| Method Summary | |
|---|---|
com.atomikos.icatch.trmi.RecoveryCoordinatorProxy |
addParticipant(Participant $param_Participant_1,
String $param_String_2)
Add a new participant to the transaction of the given tid. |
void |
addSubTxAwareParticipant(SubTxAwareParticipant $param_SubTxAwareParticipant_1,
String $param_String_2)
Add a subtx aware participant to the given tx. |
HeuristicMessage[] |
commit(String $param_String_1)
Commit the participant of the given root, after prepare was sent. |
HeuristicMessage[] |
commitOnePhase(String $param_String_1,
int $param_int_2,
Dictionary $param_Dictionary_3)
Perform one-phase commit for the given root. |
void |
forget(String $param_String_1)
Forget all about a given root. |
int |
prepare(String $param_String_1,
int $param_int_2,
Dictionary $param_Dictionary_3)
Prepare the participant of the given root. |
Boolean |
replayCompletion(String $param_String_1,
Participant $param_Participant_2)
Replay completion for given root, on given participant. |
HeuristicMessage[] |
rollback(String $param_String_1)
Rollback the participant for the given root. |
| Methods inherited from class java.rmi.server.RemoteStub |
|---|
setRef |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TrmiTransactionManager_Stub()
public TrmiTransactionManager_Stub(RemoteRef ref)
| Method Detail |
|---|
public com.atomikos.icatch.trmi.RecoveryCoordinatorProxy addParticipant(Participant $param_Participant_1,
String $param_String_2)
throws SysException,
IllegalStateException,
RemoteException
CompositeTransactionServer
addParticipant in interface CompositeTransactionServerSysException - Unexpected.
IllegalStateException - Illegal state.
RemoteException
public void addSubTxAwareParticipant(SubTxAwareParticipant $param_SubTxAwareParticipant_1,
String $param_String_2)
throws SysException,
IllegalStateException,
RemoteException
CompositeTransactionServer
addSubTxAwareParticipant in interface CompositeTransactionServer$param_SubTxAwareParticipant_1 - The participant to add, will be notified on end().$param_String_2 - The ID of the transaction to which the participant must be
added.
SysException - Unexpected error.
IllegalStateException - If txid is no longer an active tx.
RemoteException
public HeuristicMessage[] commit(String $param_String_1)
throws HeurHazardException,
HeurMixedException,
HeurRollbackException,
RollbackException,
SysException,
RemoteException
ParticipantServer
commit in interface ParticipantServer$param_String_1 - The String of the given root.
HeurHazardException
HeurMixedException
HeurRollbackException
RollbackException
SysException
RemoteExceptionFor more info on the exceptions and return value.
public HeuristicMessage[] commitOnePhase(String $param_String_1,
int $param_int_2,
Dictionary $param_Dictionary_3)
throws HeurHazardException,
HeurMixedException,
HeurRollbackException,
RollbackException,
SysException,
RemoteException
ParticipantServer
commitOnePhase in interface ParticipantServer$param_String_1 - The root id.$param_int_2 - The count of siblings for the given participant.$param_Dictionary_3 - The info needed for orphan detection.
HeurHazardException
HeurMixedException
HeurRollbackException
RollbackException
SysException
RemoteException
public void forget(String $param_String_1)
throws SysException,
RemoteException
ParticipantServer
forget in interface ParticipantServer$param_String_1 - The root to forget about.
SysException
RemoteException
public int prepare(String $param_String_1,
int $param_int_2,
Dictionary $param_Dictionary_3)
throws HeurHazardException,
HeurMixedException,
RollbackException,
SysException,
RemoteException
ParticipantServer
prepare in interface ParticipantServer$param_String_1 - The root String of the participant.$param_int_2 - The count of siblings for the given participant.$param_Dictionary_3 - The list of participants to cascade to, if any.
HeurHazardException
HeurMixedException
RollbackException
SysException
RemoteExceptionFor more information on the exceptions and return value.
public Boolean replayCompletion(String $param_String_1,
Participant $param_Participant_2)
throws SysException,
RemoteException
RecoveryServer
replayCompletion in interface RecoveryServer$param_String_1 - The root.$param_Participant_2 - The participant.
RemoteException - On remote failure.
SysException
public HeuristicMessage[] rollback(String $param_String_1)
throws HeurCommitException,
HeurHazardException,
HeurMixedException,
SysException,
RemoteException
ParticipantServer
rollback in interface ParticipantServer$param_String_1 - The given root.
HeurCommitException
HeurHazardException
HeurMixedException
SysException
RemoteExceptionfor more exception info.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||