Class VersionedEntry

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

public class VersionedEntry extends Object implements Function<org.infinispan.functional.EntryView.ReadWriteEntryView<Object,Object>,Void>, org.infinispan.commands.functional.functions.InjectableComponent
Author:
Radim Vansa <rvansa@redhat.com>
  • Field Details

    • EXCLUDE_EMPTY_VERSIONED_ENTRY

      public static final org.infinispan.hibernate.cache.commons.util.VersionedEntry.ExcludeEmptyFilter EXCLUDE_EMPTY_VERSIONED_ENTRY
  • Constructor Details

    • VersionedEntry

      public VersionedEntry(long timestamp)
    • VersionedEntry

      public VersionedEntry(Object value, Object version, long timestamp)
  • Method Details

    • getValue

      public Object getValue()
    • getVersion

      public Object getVersion()
    • getTimestamp

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