Class FutureUpdate

java.lang.Object
org.infinispan.hibernate.cache.commons.util.FutureUpdate
All Implemented Interfaces:
Function<org.infinispan.functional.EntryView.ReadWriteEntryView<Object,Object>,Void>, org.infinispan.commands.functional.functions.InjectableComponent

public class FutureUpdate extends Object implements Function<org.infinispan.functional.EntryView.ReadWriteEntryView<Object,Object>,Void>, org.infinispan.commands.functional.functions.InjectableComponent
Request to update the tombstone, coming from insert/update/remove operation. This object should *not* be stored in cache.
Author:
Radim Vansa <rvansa@redhat.com>
  • Constructor Details

    • FutureUpdate

      public FutureUpdate(UUID uuid, long timestamp, Object value)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getUuid

      public UUID getUuid()
    • getValue

      public Object getValue()
    • getTimestamp

      public long getTimestamp()
    • 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