Class IracPutKeyValueCommand

All Implemented Interfaces:
DataCommand, FlagAffectedCommand, MetadataAwareCommand, ReplicableCommand, SegmentSpecificCommand, TopologyAffectedCommand, VisitableCommand, DataWriteCommand, WriteCommand, RemoteLockCommand

public class IracPutKeyValueCommand extends AbstractDataWriteCommand implements MetadataAwareCommand
A WriteCommand used to handle updates from the remote site (for asynchronous cross-site replication).

Asynchronous cross-site replication may originate conflicts and this command allows to change its value based on the user's XSiteEntryMergePolicy installed. The value (and metadata) can change until the command reaches the end of the AsyncInterceptorChain, where the CallInterceptor checks its state and updates or removes the key.

Note, this command is non-transactional, even for transactional caches. This simplifies the conflict resolution.

Since:
12.0
Author:
Pedro Ruivo