|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fjank.jcache.persistence.PurgatoryLockManager
a manager for purgatorylocks
Constructor Summary | |
PurgatoryLockManager()
|
Method Summary | |
void |
done(java.lang.String id)
Release the write lock previously placed on the specified resource. |
void |
lock(java.lang.String id)
Adds/Creates a write lock on the specified resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PurgatoryLockManager()
Method Detail |
public void lock(java.lang.String id)
id
- the id to lockpublic final void done(java.lang.String id) throws DiskCacheException
id
- the id to release the lock for.
DiskCacheException
- if exceptions occur.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |