public class KeyLock<K> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
KeyLock.RefCounterLock |
| Constructor and Description |
|---|
KeyLock() |
public KeyLock.RefCounterLock lock(K key)
public void unlock(KeyLock.RefCounterLock lock)
key - lock - With this argument we make sure that lock has been called previouslypublic int cacheSize()
Copyright © 2014. All rights reserved.