T - public class HBDataCacheQueue<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
HBDataCacheQueue.HBCacheEvictOperation
Functional consumer that removes a batch of entries from the cache
|
| Constructor and Description |
|---|
HBDataCacheQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T data) |
void |
addAll(List<T> data) |
void |
clear() |
void |
loadCache() |
void |
persistCache() |
void |
process(int batchSize,
Consumer<List<T>> consumer)
Data is consumed in batches; if the processing is successful, the batch is removed from the cache.
|
void |
removeAll(List<T> data) |
void |
setMaxEntries(long maxEntries) |
int |
size() |
public void add(T data)
public void clear()
public void persistCache()
public void loadCache()
public int size()
public void setMaxEntries(long maxEntries)
Copyright © 2018. All rights reserved.