Class TombstoneUpdate<T>

java.lang.Object
org.infinispan.hibernate.cache.commons.util.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 Details

    • TombstoneUpdate

      public TombstoneUpdate(long timestamp, T value)
  • Method Details

    • getTimestamp

      public long getTimestamp()
    • getValue

      public T getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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