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 (ifgetValue()
is non-null or evict (if it is null). This object should *not* be stored in cache.- Author:
- Radim Vansa <rvansa@redhat.com>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TombstoneUpdate.Externalizer
-
Constructor Summary
Constructors Constructor Description TombstoneUpdate(long timestamp, T value)
-
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()
T
getValue()
void
inject(org.infinispan.factories.ComponentRegistry registry)
String
toString()
-
-
-
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)
-
inject
public void inject(org.infinispan.factories.ComponentRegistry registry)
- Specified by:
inject
in interfaceorg.infinispan.commands.functional.functions.InjectableComponent
-
-