|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvoldemort.utils.StripedLock
public class StripedLock
A parallel keyed lock
| Constructor Summary | |
|---|---|
StripedLock(int locks)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
lockFor(byte[] key)
|
java.lang.Object |
lockFor(int key)
|
java.lang.Object |
lockFor(long key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StripedLock(int locks)
| Method Detail |
|---|
public java.lang.Object lockFor(int key)
public java.lang.Object lockFor(long key)
public java.lang.Object lockFor(byte[] key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||