public interface ExtendedTransactionManager extends TransactionManager
TransactionManager.Created
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
Modifier and Type | Method and Description |
---|---|
void |
abort(Object xid) |
void |
abort(Object xid,
long waitFor) |
void |
commit(Object xid) |
void |
commit(Object xid,
long waitFor) |
TransactionManager.Created |
create(Object xid,
long lease) |
boolean |
disJoin(long id,
TransactionParticipant preparedPart)
Remove a participant that was joined
for a first time. called when a call to a participant returned empty so we can
spare calling commit or abort on it, usually used in embedded mahalo
|
int |
getState(Object id) |
void |
join(long id,
TransactionParticipant part,
long crashCount,
int partitionId,
String clusterName) |
void |
join(long id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject)
Deprecated.
|
void |
join(long id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject,
int partitionId,
String clusterName,
Object clusterProxy) |
void |
join(Object id,
TransactionParticipant part,
long crashCount) |
void |
join(Object id,
TransactionParticipant part,
long crashCount,
int partitionId,
String clusterName) |
void |
join(Object id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject)
Deprecated.
|
void |
join(Object id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject,
int partitionId,
String clusterName,
Object clusterProxy) |
int |
prepare(Object xid)
prepare the underlying xtn designated by the rendered xid
|
abort, abort, commit, commit, create, getState, getTransactionManagerId, join, needParticipantsJoin
boolean disJoin(long id, TransactionParticipant preparedPart) throws UnknownTransactionException, RemoteException
part
- The joining TransactionParticpant
UnknownTransactionException
RemoteException
TransactionParticipant
void commit(Object xid) throws UnknownTransactionException, CannotCommitException, RemoteException
void commit(Object xid, long waitFor) throws UnknownTransactionException, CannotCommitException, TimeoutExpiredException, RemoteException
void abort(Object xid) throws UnknownTransactionException, CannotAbortException, RemoteException
void abort(Object xid, long waitFor) throws UnknownTransactionException, CannotAbortException, TimeoutExpiredException, RemoteException
int prepare(Object xid) throws CannotCommitException, UnknownTransactionException, RemoteException
xid
- UnknownTransactionException
RemoteException
CannotCommitException
void join(Object id, TransactionParticipant part, long crashCount) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
TransactionManager.Created create(Object xid, long lease) throws LeaseDeniedException, RemoteException
LeaseDeniedException
RemoteException
int getState(Object id) throws UnknownTransactionException, RemoteException
@Deprecated void join(long id, TransactionParticipant part, long crashCount, ServerTransaction userXtnObject) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
@Deprecated void join(Object id, TransactionParticipant part, long crashCount, ServerTransaction userXtnObject) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
void join(long id, TransactionParticipant part, long crashCount, int partitionId, String clusterName) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
void join(Object id, TransactionParticipant part, long crashCount, int partitionId, String clusterName) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
void join(long id, TransactionParticipant part, long crashCount, ServerTransaction userXtnObject, int partitionId, String clusterName, Object clusterProxy) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
void join(Object id, TransactionParticipant part, long crashCount, ServerTransaction userXtnObject, int partitionId, String clusterName, Object clusterProxy) throws UnknownTransactionException, CannotJoinException, CrashCountException, RemoteException
Copyright © GigaSpaces.