Class TombstoneUpdate<T>

  • All Implemented Interfaces:
    Function<org.infinispan.functional.EntryView.ReadWriteEntryView<Object,​Object>,​Void>, org.infinispan.commands.functional.functions.InjectableComponent

    public class TombstoneUpdate<T>
    extends Object
    implements Function<org.infinispan.functional.EntryView.ReadWriteEntryView<Object,​Object>,​Void>, org.infinispan.commands.functional.functions.InjectableComponent
    Request to update cache either as a result of putFromLoad (if getValue() is non-null or evict (if it is null). This object should *not* be stored in cache.
    Author:
    Radim Vansa <rvansa@redhat.com>
    • Constructor Detail

      • TombstoneUpdate

        public TombstoneUpdate​(long timestamp,
                               T value)
    • Method Detail

      • getTimestamp

        public long getTimestamp()
      • getValue

        public T getValue()
      • apply

        public Void apply​(org.infinispan.functional.EntryView.ReadWriteEntryView<Object,​Object> view)
        Specified by:
        apply in interface Function<org.infinispan.functional.EntryView.ReadWriteEntryView<Object,​Object>,​Void>
      • inject

        public void inject​(org.infinispan.factories.ComponentRegistry registry)
        Specified by:
        inject in interface org.infinispan.commands.functional.functions.InjectableComponent