Class ClusteringDependentLogic.AbstractClusteringDependentLogic

    • Field Detail

      • dataContainer

        protected org.infinispan.container.impl.InternalDataContainer<java.lang.Object,​java.lang.Object> dataContainer
      • notifier

        protected CacheNotifier<java.lang.Object,​java.lang.Object> notifier
      • functionalNotifier

        protected org.infinispan.functional.impl.FunctionalNotifier<java.lang.Object,​java.lang.Object> functionalNotifier
      • totalOrder

        protected boolean totalOrder
    • Constructor Detail

      • AbstractClusteringDependentLogic

        public AbstractClusteringDependentLogic()
    • Method Detail

      • commitEntry

        public final java.util.concurrent.CompletionStage<java.lang.Void> commitEntry​(CacheEntry entry,
                                                                                      org.infinispan.commands.FlagAffectedCommand command,
                                                                                      InvocationContext ctx,
                                                                                      Flag trackFlag,
                                                                                      boolean l1Invalidation)
        Description copied from interface: ClusteringDependentLogic
        Commits the entry to the data container. The commit operation is always done synchronously in the current thread. However notifications for said operations can be performed asynchronously and the returned CompletionStage will complete when the notifications if any are completed.
        Specified by:
        commitEntry in interface ClusteringDependentLogic
        Returns:
        completion stage that is complete when all notifications for the commit are complete or null if already complete
      • commitSingleEntry

        protected abstract java.util.concurrent.CompletionStage<java.lang.Void> commitSingleEntry​(CacheEntry entry,
                                                                                                  org.infinispan.commands.FlagAffectedCommand command,
                                                                                                  InvocationContext ctx,
                                                                                                  Flag trackFlag,
                                                                                                  boolean l1Invalidation)
      • initKeySpecificLogic

        protected abstract org.infinispan.transaction.impl.WriteSkewHelper.KeySpecificLogic initKeySpecificLogic​(boolean totalOrder)