net.jini.core.transaction.server
Interface ExtendedTransactionManager
- All Superinterfaces:
- Remote, TransactionConstants, TransactionManager
- All Known Subinterfaces:
- TxnManager
- All Known Implementing Classes:
- LocalTransactionManager, TxnManagerImpl, TxnMgrProxy
public interface ExtendedTransactionManager
- extends TransactionManager
additional apis for transaction manager
Method Summary |
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,
ServerTransaction userXtnObject)
|
void |
join(Object id,
TransactionParticipant part,
long crashCount)
|
void |
join(Object id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject)
|
int |
prepare(Object xid)
prepare the underlying xtn designated by the rendered xid |
disJoin
boolean disJoin(long id,
TransactionParticipant preparedPart)
throws UnknownTransactionException,
RemoteException
- 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
- Parameters:
part
- The joining TransactionParticpant
- Returns:
- true if participant disjoined
- Throws:
UnknownTransactionException
RemoteException
- See Also:
TransactionParticipant
commit
void commit(Object xid)
throws UnknownTransactionException,
CannotCommitException,
RemoteException
- Throws:
UnknownTransactionException
CannotCommitException
RemoteException
commit
void commit(Object xid,
long waitFor)
throws UnknownTransactionException,
CannotCommitException,
TimeoutExpiredException,
RemoteException
- Throws:
UnknownTransactionException
CannotCommitException
TimeoutExpiredException
RemoteException
abort
void abort(Object xid)
throws UnknownTransactionException,
CannotAbortException,
RemoteException
- Throws:
UnknownTransactionException
CannotAbortException
RemoteException
abort
void abort(Object xid,
long waitFor)
throws UnknownTransactionException,
CannotAbortException,
TimeoutExpiredException,
RemoteException
- Throws:
UnknownTransactionException
CannotAbortException
TimeoutExpiredException
RemoteException
prepare
int prepare(Object xid)
throws CannotCommitException,
UnknownTransactionException,
RemoteException
- prepare the underlying xtn designated by the rendered xid
- Parameters:
xid
-
- Returns:
-
- Throws:
UnknownTransactionException
RemoteException
CannotCommitException
join
void join(Object id,
TransactionParticipant part,
long crashCount)
throws UnknownTransactionException,
CannotJoinException,
CrashCountException,
RemoteException
- Throws:
UnknownTransactionException
CannotJoinException
CrashCountException
RemoteException
create
TransactionManager.Created create(Object xid,
long lease)
throws LeaseDeniedException,
RemoteException
- Throws:
LeaseDeniedException
RemoteException
getState
int getState(Object id)
throws UnknownTransactionException,
RemoteException
- Throws:
UnknownTransactionException
RemoteException
join
void join(long id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject)
throws UnknownTransactionException,
CannotJoinException,
CrashCountException,
RemoteException
- Throws:
UnknownTransactionException
CannotJoinException
CrashCountException
RemoteException
join
void join(Object id,
TransactionParticipant part,
long crashCount,
ServerTransaction userXtnObject)
throws UnknownTransactionException,
CannotJoinException,
CrashCountException,
RemoteException
- Throws:
UnknownTransactionException
CannotJoinException
CrashCountException
RemoteException
Copyright © GigaSpaces.