K- the type of keys maintained by this cache
V- the type of cached values
T- the type of the return value
public interface BackupAwareEntryProcessor<K,V,T> extends javax.cache.processor.EntryProcessor<K,V,T>
Cache.Entryatomically, according to the defined consistency of a
The difference from the normal
implementations, where a backup is done sending the completely changed resulting
object to the backup-partition, is that implementations of this sub-interface can create
EntryProcessor instances that are sent
to the backup partitions to apply logic which is either different from the owner
partition (e.g. not sending emails) or is the simple case of being similar to the main
operations. In the later case
createBackupEntryProcessor() can also return
|Modifier and Type||Method and Description|
Either creates a new, specialized
EntryProcessorto be executed on the backup-partition, or returns
thisto execute the same processor remotely.
If null is returned, the value is backed up using the normal value backup mechanism, no exception is thrown, and the update is applied as expected.
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.