public class DeleteAllOperation extends java.lang.Object implements BatchOperation
Modifier and Type | Field and Description |
---|---|
private java.util.List<CacheEntry> |
entries |
Constructor and Description |
---|
DeleteAllOperation(java.util.List<CacheEntry> entries)
Create a new delete all operation for the provided list of cache entries
|
Modifier and Type | Method and Description |
---|---|
void |
performBatchOperation(CacheWriter cacheWriter)
Perform the batch operation for a particular batch writer
|
private final java.util.List<CacheEntry> entries
public DeleteAllOperation(java.util.List<CacheEntry> entries)
entries
- the list of entries that are part of this operationpublic void performBatchOperation(CacheWriter cacheWriter)
performBatchOperation
in interface BatchOperation
cacheWriter
- the cache writer this operation should be performed upon