Package | Description |
---|---|
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
com.sun.jini.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
net.jini.core.transaction |
These are the transaction abstraction's interfaces and classes.
|
net.jini.core.transaction.server |
These are the default transaction semantics for participant/manager interaction.
|
Modifier and Type | Method and Description |
---|---|
void |
TxnMgrProxy.join(long id,
TransactionParticipant part,
long crashCount) |
void |
TxnManagerImpl.join(long id,
TransactionParticipant part,
long crashCount) |
void |
TxnManagerTransaction.join(TransactionParticipant preparedPart,
long crashCount)
Implementation of the join method.
|
Modifier and Type | Method and Description |
---|---|
private CannotJoinException |
OutriggerServerImpl.throwNewCannotJoinException()
Log and throw new CannotJoinException
|
Modifier and Type | Method and Description |
---|---|
private boolean |
EntryHolder.confirmAvailabilityWithTxn(EntryRep rep,
EntryHandle handle,
TransactableMgr txnMgr,
boolean takeIt,
long time,
Set conflictSet,
Set lockedEntrySet,
WeakHashMap provisionallyRemovedEntrySet) |
(package private) void |
Txn.ensureActive()
Atomically checks that this transaction is in the active
state and locks the transaction in the active state.
|
(package private) EntryHandle |
EntryHolder.hasMatch(EntryRep tmpl,
TransactableMgr txn,
boolean takeIt,
Set conflictSet,
Set lockedEntrySet,
WeakHashMap provisionallyRemovedEntrySet)
Return an
EntryHandle object that matches the given
template, or null if none does. |
(package private) EntryHandle |
EntryHolder.ContinuingQuery.next(Set conflictSet,
Set lockedEntrySet,
WeakHashMap provisionallyRemovedEntrySet)
Return the next matching entry.
|
private CannotJoinException |
OutriggerServerImpl.throwNewCannotJoinException()
Log and throw new CannotJoinException
|
Modifier and Type | Method and Description |
---|---|
NestableTransaction.Created |
NestableTransaction.create(long leaseTime)
Create a new nested transaction, with the current transaction as
parent, managed by the same transaction manager as the current
transaction.
|
NestableTransaction.Created |
NestableTransaction.create(NestableTransactionManager mgr,
long leaseTime)
Create a new nested transaction, with the current transaction as
parent, managed by the given transaction manager.
|
Modifier and Type | Method and Description |
---|---|
NestableTransaction.Created |
NestableServerTransaction.create(long leaseTime) |
NestableTransaction.Created |
NestableServerTransaction.create(NestableTransactionManager mgr,
long leaseTime) |
TransactionManager.Created |
NestableTransactionManager.create(NestableTransactionManager parentMgr,
long parentID,
long lease)
Begin a nested transaction, with the specified transaction as parent.
|
void |
TransactionManager.join(long id,
TransactionParticipant part,
long crashCount)
Join a transaction that is managed by this transaction manager.
|
void |
ServerTransaction.join(TransactionParticipant part,
long crashCount)
Join the transaction.
|
void |
NestableTransactionManager.promote(long id,
TransactionParticipant[] parts,
long[] crashCounts,
TransactionParticipant drop)
Promote the listed participants into the specified transaction.
|
void |
NestableServerTransaction.promote(TransactionParticipant[] parts,
long[] crashCounts,
TransactionParticipant drop)
Promote the listed participants (from a subtransaction) into
this (the parent) transaction.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.