public interface EntryBackupProcessor<K,V> extends Serializable
EntryProcessor
can see
that a key exists but its backup processor EntryBackupProcessor
may not find it
at run time due to an unsent backup of a previous operation (e.g. a previous put). In those situations,
Hazelcast internally/eventually will sync those owner and backup partitions so you will not lose any data.
When coding an EntryBackupProcessor
, you should take that case into account, otherwise
NullPointerException
s can be seen since Map.Entry.getValue()
may return null.EntryProcessor
,
AbstractEntryProcessor
Modifier and Type | Method and Description |
---|---|
void |
processBackup(Map.Entry<K,V> entry) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.