E - Type of entry to be stored.public interface WriteBehindQueue<E>
| Modifier and Type | Method and Description | 
|---|---|
void | 
addEnd(Collection<E> collection)
Add this collection to the end of the queue. 
 | 
void | 
addFront(Collection<E> collection)
Add this collection to the front of the queue. 
 | 
List<E> | 
asList()
Returns list representation of this queue. 
 | 
void | 
clear()  | 
List<E> | 
filterItems(long now)
Returns list of entries smaller than specific time. 
 | 
E | 
get(E e)
Gets item. 
 | 
E | 
getFirst()
Gets first item in queue. 
 | 
WriteBehindQueue<E> | 
getSnapShot()  | 
boolean | 
isEnabled()
Empty or a real queue. 
 | 
boolean | 
offer(E e)
adds to the end. 
 | 
List<E> | 
removeAll()
Removes and returns all items in this queue. 
 | 
void | 
removeAll(Collection<E> collection)
Removes all items in collection from queue. 
 | 
void | 
removeFirst()
removes head of the queue. 
 | 
int | 
size()  | 
boolean offer(E e)
e - item to be offeredtrue if added, false otherwise.E get(E e)
e - item to be offeredE getFirst()
void removeFirst()
int size()
void clear()
WriteBehindQueue<E> getSnapShot()
void addFront(Collection<E> collection)
collection - collection to be added in front of this queue.void addEnd(Collection<E> collection)
collection - collection to be added end of this queue.void removeAll(Collection<E> collection)
collection - collection to be removed.List<E> removeAll()
boolean isEnabled()
List<E> asList()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.