Class ScatteredDistributionInterceptor

  • All Implemented Interfaces:
    org.infinispan.commands.Visitor, AsyncInterceptor
    Direct Known Subclasses:
    BiasedScatteredDistributionInterceptor

    public class ScatteredDistributionInterceptor
    extends org.infinispan.interceptors.impl.ClusteringInterceptor
    This interceptor mixes several functions: A) replicates changes to other nodes B) commits the entry C) schedules invalidation On primary owner, the commit is executed before the change is replicated to other node. If the command reads previous value and the version of entry in DataContainer has changed during execution ConcurrentChangeException is thrown and the command has to be retried.
    Author:
    Radim Vansa <rvansa@redhat.com>