A C D E G I L N R S T

A

addTransaction(Transaction) - Method in class concurrency.LockingTable
Adds a new transaction to the locking table.

C

ConcurrencyException - exception concurrency.ConcurrencyException.
Represents an error ocurred in the transaction manager.
ConcurrencyException() - Constructor for class concurrency.ConcurrencyException
Constructs a ConcurrencyException without message.
ConcurrencyException(String) - Constructor for class concurrency.ConcurrencyException
Constructs a ConcurrencyException with a specified message.
ConcurrencyManager - class concurrency.ConcurrencyManager.
This class controls the concurrent access to the objects of a semiestructured database.
ConcurrencyManager(long) - Constructor for class concurrency.ConcurrencyManager
Constructs a new Concurrency Manager with a initial number of transaction.
comparator - Static variable in class concurrency.LockableObject
The comparator for lockable database objects.
comparator - Static variable in class concurrency.Transaction
The transactions' comparator.
compare(Object, Object) - Method in class concurrency.LockableObject.Comparator
 
compare(Object, Object) - Method in class concurrency.Transaction.Comparator
 
compare(Transaction) - Method in class concurrency.Transaction
Compares two transactions using their numbers.
compare(Object) - Method in class concurrency.Transaction
 
concurrency - package concurrency
This package implements the mechanisms for the concurrency controller.

D

DICTIONARY - Static variable in class concurrency.Dictionary
 
DatumContent - class concurrency.DatumContent.
Represents the content of a datum.
DatumContent(PhysicalID) - Constructor for class concurrency.DatumContent
Constructs a datum content from a specified identifier.
DatumView - class concurrency.DatumView.
Represents the view of a datum.
DatumView(PhysicalID) - Constructor for class concurrency.DatumView
Constructs a datum view from a specified identifier.
Dictionary - class concurrency.Dictionary.
Represents the data dictionary.
Dictionary() - Constructor for class concurrency.Dictionary
 

E

EXCLUSIVE - Static variable in class concurrency.LockMode
The byte representation of exclusive mode.
EXCLUSIVE_MODE - Static variable in class concurrency.LockMode
The exclusive mode.
endTransaction(Transaction) - Method in class concurrency.ConcurrencyManager
Removes a transaction from the concurrency manager.
equals(Object) - Method in class concurrency.LockableObject.Comparator
 
equals(Object) - Method in class concurrency.Transaction.Comparator
 
equals(Transaction) - Method in class concurrency.Transaction
Compare if two transactions has the same number.
equals(Object) - Method in class concurrency.Transaction
 

G

getCreationTime() - Method in class concurrency.Transaction
Returns the creation time of the transaction.
getID() - Method in class concurrency.DatumContent
Returns the identifier of the owner datum of the content.
getID() - Method in class concurrency.DatumView
Returns the identifier of the owner datum of the view.
getMode() - Method in class concurrency.LockMode
Returns the byte representation of the locking mode.
getTransactionNumber() - Method in class concurrency.Transaction
Returns the transaction number.

I

isCompatible(LockMode) - Method in class concurrency.LockMode
Checks if this lock is compatible with oter.
isExclusive() - Method in class concurrency.LockMode
Checks if the mode is exclusive.
isShare() - Method in class concurrency.LockMode
Checks if the mode is share.

L

LockMode - class concurrency.LockMode.
This class represents the locking modes (share or exclusive).
LockMode(byte) - Constructor for class concurrency.LockMode
Constructs a new locking mode with a specified value.
LockMode(LockMode) - Constructor for class concurrency.LockMode
Constructs a new locking mode as a copy of other.
LockMode() - Constructor for class concurrency.LockMode
Constructa a new locking mode (share mode);
LockableObject - class concurrency.LockableObject.
This class representas an object of a database that can be locked.
LockableObject() - Constructor for class concurrency.LockableObject
 
LockableObject.Comparator - class concurrency.LockableObject.Comparator.
This comparator is used to order lockable database ofjects.
LockableObject.Comparator() - Constructor for class concurrency.LockableObject.Comparator
 
LockingTable - class concurrency.LockingTable.
The locking table decides when to grant locks and when not.
LockingTable() - Constructor for class concurrency.LockingTable
 
lock(Transaction, LockableObject, LockMode) - Method in class concurrency.ConcurrencyManager
Locks a database object.
lock(Transaction, LockableObject, LockMode, long) - Method in class concurrency.ConcurrencyManager
Locks a database object with a specified time out.
lock(Transaction, LockableObject, LockMode) - Method in class concurrency.LockingTable
Checks is a lock can be granted and the lock is registred in the table.
lockContent(Transaction, PhysicalID, LockMode) - Method in class concurrency.ConcurrencyManager
Locks the content of a datum.
lockContent(Transaction, PhysicalID, LockMode, long) - Method in class concurrency.ConcurrencyManager
Locks the content of a datum with a specified time out.
lockDictionary(Transaction, LockMode) - Method in class concurrency.ConcurrencyManager
Locks the dictionary.
lockDictionary(Transaction, LockMode, long) - Method in class concurrency.ConcurrencyManager
Locks the dictionary with a specified time out.
lockView(Transaction, PhysicalID, LockMode) - Method in class concurrency.ConcurrencyManager
Locks the view of a datum.
lockView(Transaction, PhysicalID, LockMode, long) - Method in class concurrency.ConcurrencyManager
Locks the view of a datum with a specified time out.

N

NotActiveTransactionException - exception concurrency.NotActiveTransactionException.
Represents an error ocurred when triying to use an invalid transaction.
NotActiveTransactionException() - Constructor for class concurrency.NotActiveTransactionException
Constructs a NotActiveTransactionException without message.
NotActiveTransactionException(String) - Constructor for class concurrency.NotActiveTransactionException
Constructs a NotActiveTransactionException with a specified message.
newTransaction() - Method in class concurrency.ConcurrencyManager
Creates and registres a new transaction.

R

removeTransaction(Transaction) - Method in class concurrency.LockingTable
Removes a transaction from the locking table.

S

SHARE - Static variable in class concurrency.LockMode
The byte representation of share mode.
SHARE_MODE - Static variable in class concurrency.LockMode
The share mode.
setExclusive() - Method in class concurrency.LockMode
Changes the mode to exclusive.
setMode(byte) - Method in class concurrency.LockMode
Changes the mode.
setMorePowerful(byte) - Method in class concurrency.LockMode
Try to change the mode preserving the greater (exclusive is greater than share).
setMorePowerful(LockMode) - Method in class concurrency.LockMode
Try to change the mode preserving the greater (exclusive is greater than share).
setShare() - Method in class concurrency.LockMode
Changes the mode to share.
show() - Method in class concurrency.LockingTable
Shows to de locking table.

T

TimeOutException - exception concurrency.TimeOutException.
Represents an error ocurred when the specified time to lock an object is over.
TimeOutException() - Constructor for class concurrency.TimeOutException
Constructs a TimeOutException without message.
TimeOutException(String) - Constructor for class concurrency.TimeOutException
Constructs a TimeOutException with a specified message.
Transaction - class concurrency.Transaction.
This class represents a transaction, encloses a number of transaction.
Transaction(long) - Constructor for class concurrency.Transaction
Constructs a transaction with a specified number.
Transaction.Comparator - class concurrency.Transaction.Comparator.
A comparator to order transactions.
Transaction.Comparator() - Constructor for class concurrency.Transaction.Comparator
 
toString() - Method in class concurrency.DatumContent
 
toString() - Method in class concurrency.DatumView
 
toString() - Method in class concurrency.Dictionary
 
toString() - Method in class concurrency.LockMode
 
toString() - Method in class concurrency.LockableObject
 
toString() - Method in class concurrency.Transaction
 

A C D E G I L N R S T