org.smallmind.quorum.cache.indigenous
Class InternalHashMap<K,V>
java.lang.Object
org.smallmind.quorum.cache.indigenous.InternalHashMap<K,V>
public class InternalHashMap<K,V>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalHashMap
public InternalHashMap(ReentrantLock[] stripeLocks,
int initialCapacity,
float loadFactor)
throws CacheException
- Throws:
CacheException
size
public int size()
isEmpty
public boolean isEmpty()
get
public V get(K key)
containsKey
public boolean containsKey(K key)
put
public V put(K key,
V value)
putIfAbsent
public V putIfAbsent(K key,
V value)
putEntry
public V putEntry(K key,
V value,
boolean onlyIfAbsent)
remove
public V remove(K key)
clear
public void clear()
keyIterator
public org.smallmind.quorum.cache.indigenous.InternalHashMap.KeyIterator keyIterator()
Copyright © 2011. All Rights Reserved.