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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VersionedEntry.ExcludeEmptyVersionedEntryExternalizer
static class
VersionedEntry.Externalizer
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.hibernate.cache.commons.util.VersionedEntry.ExcludeEmptyFilter
EXCLUDE_EMPTY_VERSIONED_ENTRY
-
Constructor Summary
Constructors Constructor Description VersionedEntry(long timestamp)
VersionedEntry(Object value, Object version, long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
apply(org.infinispan.functional.EntryView.ReadWriteEntryView<Object,Object> view)
long
getTimestamp()
Object
getValue()
Object
getVersion()
void
inject(org.infinispan.factories.ComponentRegistry registry)
String
toString()
-
-
-
Method Detail
-
getValue
public Object getValue()
-
getVersion
public Object getVersion()
-
getTimestamp
public long getTimestamp()
-
apply
public Void apply(org.infinispan.functional.EntryView.ReadWriteEntryView<Object,Object> view)
-
inject
public void inject(org.infinispan.factories.ComponentRegistry registry)
- Specified by:
inject
in interfaceorg.infinispan.commands.functional.functions.InjectableComponent
-
-