THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Implementation of transactions needs a LockManager enabling to lock and unlock particular keys in Storage. It may look as simple as this but will be clarified when transaction protocol is defined:
Code Block | ||||
---|---|---|---|---|
| ||||
/** Interface enabling obtaining locks on Keys in Storage. */ public interface LockManager { /** Locks given Key. */ public void lock(Key key); /** Unlocks given Key. */ public void unlock(Key key); } |
...