com.lordofthejars.nosqlunit.redis.embedded
Interface BlockingMap<K,V>
- All Known Implementing Classes:
- TransferMap
public interface BlockingMap<K,V>
|
Method Summary |
V |
addElementAt(K key,
V value,
int index)
|
void |
clear()
|
void |
clear(K key)
|
boolean |
containsKey(K key)
|
Collection<V> |
elements(K key)
|
V |
getAndWait(K key)
|
V |
getAndWait(K key,
long timeout)
|
V |
getElement(K key,
int index)
|
int |
indexOf(K key,
V value)
|
Set<K> |
keySet()
|
V |
lastAndWait(K key)
|
V |
lastAndWait(K key,
long timeout)
|
int |
lastIndexOf(K key,
V value)
|
V |
pollFirst(K key)
|
V |
pollLast(K key)
|
V |
put(K key,
V value)
|
void |
putFirst(K key,
Collection<V> elements)
|
void |
putLast(K key,
Collection<V> elements)
|
V |
remove(K key,
int index)
|
void |
replaceValues(K key,
Collection<V> newElements)
|
int |
size()
|
int |
size(K key)
|
getAndWait
V getAndWait(K key)
throws InterruptedException
- Throws:
InterruptedException
getAndWait
V getAndWait(K key,
long timeout)
throws InterruptedException
- Throws:
InterruptedException
lastAndWait
V lastAndWait(K key)
throws InterruptedException
- Throws:
InterruptedException
lastAndWait
V lastAndWait(K key,
long timeout)
throws InterruptedException
- Throws:
InterruptedException
put
V put(K key,
V value)
putLast
void putLast(K key,
Collection<V> elements)
putFirst
void putFirst(K key,
Collection<V> elements)
pollFirst
V pollFirst(K key)
pollLast
V pollLast(K key)
getElement
V getElement(K key,
int index)
size
int size(K key)
addElementAt
V addElementAt(K key,
V value,
int index)
indexOf
int indexOf(K key,
V value)
elements
Collection<V> elements(K key)
containsKey
boolean containsKey(K key)
remove
V remove(K key,
int index)
lastIndexOf
int lastIndexOf(K key,
V value)
clear
void clear(K key)
replaceValues
void replaceValues(K key,
Collection<V> newElements)
size
int size()
clear
void clear()
keySet
Set<K> keySet()
Copyright © 2012. All Rights Reserved.