Class TotalOrderVersionedEntryWrappingInterceptor

  • All Implemented Interfaces:
    org.infinispan.commands.Visitor, AsyncInterceptor

    public class TotalOrderVersionedEntryWrappingInterceptor
    extends org.infinispan.interceptors.impl.VersionedEntryWrappingInterceptor
    Wrapping Interceptor for Total Order protocol when versions are needed
    Author:
    Mircea.Markus@jboss.com, Pedro Ruivo
    • Constructor Detail

      • TotalOrderVersionedEntryWrappingInterceptor

        public TotalOrderVersionedEntryWrappingInterceptor()
    • Method Detail

      • visitPrepareCommand

        public final java.lang.Object visitPrepareCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                                          org.infinispan.commands.tx.PrepareCommand command)
                                                   throws java.lang.Throwable
        Specified by:
        visitPrepareCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitPrepareCommand in class org.infinispan.interceptors.impl.VersionedEntryWrappingInterceptor
        Throws:
        java.lang.Throwable
      • visitCommitCommand

        public java.lang.Object visitCommitCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                                   org.infinispan.commands.tx.CommitCommand command)
                                            throws java.lang.Throwable
        Specified by:
        visitCommitCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitCommitCommand in class org.infinispan.interceptors.impl.VersionedEntryWrappingInterceptor
        Throws:
        java.lang.Throwable
      • commitContextEntry

        protected void commitContextEntry​(CacheEntry entry,
                                          InvocationContext ctx,
                                          org.infinispan.commands.FlagAffectedCommand command,
                                          Flag stateTransferFlag,
                                          boolean l1Invalidation)
        Overrides:
        commitContextEntry in class org.infinispan.interceptors.impl.VersionedEntryWrappingInterceptor