Interface DataContainer.ComputeAction<K,​V>

  • Enclosing interface:

    public static interface DataContainer.ComputeAction<K,​V>
    • Method Detail

      • compute

        InternalCacheEntry<K,​V> compute​(K key,
                                              InternalCacheEntry<K,​V> oldEntry,
                                              org.infinispan.container.impl.InternalEntryFactory factory)
        Computes the new value for the key.
        The new InternalCacheEntry for the key, null if the entry is to be removed or oldEntry is the entry is not to be changed (i.e. not entries are added, removed or touched).