public class EntryRemovingProcessor extends AbstractEntryProcessor
| Modifier and Type | Field and Description |
|---|---|
static EntryRemovingProcessor |
ENTRY_REMOVING_PROCESSOR |
| Constructor and Description |
|---|
EntryRemovingProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
process(Map.Entry entry)
Process the entry without worrying about concurrency.
|
getBackupProcessorpublic static final EntryRemovingProcessor ENTRY_REMOVING_PROCESSOR
public Object process(Map.Entry entry)
EntryProcessorMap.Entry.setValue(V) method of Map.Entry such as:
Override
public Object process(Map.Entry entry) {
Value value = entry.getValue();
// process and modify value
// ...
entry.setValue(value);
return result;
}
otherwise EntryProcessor does not guarantee to modify the entry.entry - entry to be processedCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.