public interface UpdateQueue<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(T items)
Adds item to the queue
|
void |
addItems(java.util.List<T> items)
Adds all elements from the list to the queue
|
java.util.List<T> |
getItems()
Returns all elements in the queue.
|
java.util.List<T> |
getItems(java.util.Date newerThan)
Returns all elements in the queue newer than a specific day
|
T |
getLastItem()
Returns last item from the queue
|
void |
removeItems()
Removes all elements from the queue
|
void |
removeItems(<any> predicate)
Removes all matched elements
|
void |
removeItems(java.util.Date olderThan)
Removes all elements from the queue older than a specific date
|
java.util.List<T> getItems()
java.util.List<T> getItems(java.util.Date newerThan)
newerThan - threshold datevoid addItems(java.util.List<T> items)
items - elements to be storedvoid addItem(T items)
items - elements to be storedvoid removeItems(java.util.Date olderThan)
olderThan - threshold datevoid removeItems()
T getLastItem()
void removeItems(<any> predicate)
predicate - Copyright © 2018 SAP SE. All Rights Reserved.