Package com.mckoi.database
Class Lock
java.lang.Object
com.mckoi.database.Lock
This is a lock on a table in the LockingMechanism class. A new instance
of this class is created whenever a new lock for a table is made. A Lock
may be either a READ lock or a WRITE lock. A lock is within a LockingQueue
object.
- Author:
- Tobias Downer
-
Field Summary
Fields -
Method Summary
-
Field Details
-
READ
public static final int READThese statics are used to define whether the lock is a READ or WRITE lock.- See Also:
-
WRITE
public static final int WRITE- See Also:
-
-
Method Details