|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Lockable | |
---|---|
tp | CSEP545 Final Project for Java |
tp.impl | Please place your own code under this package. |
Uses of Lockable in tp |
---|
Classes in tp that implement Lockable | |
---|---|
class |
Customer
unique customer identifier |
class |
LockableID
A generic ID that encapsulate a string. |
class |
RID
The class represents a resource identifier. |
Methods in tp with parameters of type Lockable | |
---|---|
LockableID |
LockableID.concat(Lockable other)
Construct a composite ID using this id as prefix. |
void |
LM.lockForRead(Transaction context,
Lockable resource)
obtain a read lock for given resource |
void |
LM.lockForWrite(Transaction context,
Lockable resource)
obtain a write lock for given resource |
Constructors in tp with parameters of type Lockable | |
---|---|
LockableID(Lockable item)
|
|
LockableID(Lockable prefix,
Lockable item)
|
|
LockableID(Lockable prefix,
String item)
|
|
LockableID(String prefix,
Lockable item)
|
Uses of Lockable in tp.impl |
---|
Methods in tp.impl with parameters of type Lockable | |
---|---|
void |
MyLM.lockForRead(Transaction context,
Lockable resource)
|
void |
MyLM.lockForWrite(Transaction context,
Lockable resource)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |