Class Semantic.InsertOrUpdate<K,​V,​R>

  • All Implemented Interfaces:
    Semantic<K,​V,​R>
    Enclosing interface:
    Semantic<K,​V,​R>

    public abstract static class Semantic.InsertOrUpdate<K,​V,​R>
    extends Semantic.Base<K,​V,​R>
    Only update the entry. This does not need the entry to be present in the heap.
    • Constructor Detail

      • InsertOrUpdate

        public InsertOrUpdate()
    • Method Detail

      • start

        public final void start​(K key,
                                Progress<K,​V,​R> c)
        Instruct to lock the entry for the update.
      • examine

        public final void examine​(K key,
                                  Progress<K,​V,​R> c,
                                  ExaminationEntry<K,​V> e)
        Instruct to lock the entry for the update. Again, since examine may be called when entry is there.