public class BasicWritableSlice<K,V> extends java.lang.Object implements WritableSlice<K,V>
Constructor and Description |
---|
BasicWritableSlice(RewritePolicy rewritePolicy) |
BasicWritableSlice(RewritePolicy rewritePolicy,
boolean isCollective) |
Modifier and Type | Method and Description |
---|---|
void |
afterPut(MutableSlicedMap map,
K key,
V value) |
boolean |
check(K key,
V value) |
V |
computeValue(SlicedMap map,
K key,
V value,
boolean valueNotFound) |
RewritePolicy |
getRewritePolicy() |
static java.lang.Void |
initSliceDebugNames(java.lang.Class<?> declarationOwner) |
boolean |
isCollective() |
SlicedMapKey<K,V> |
makeKey(K key) |
ReadOnlySlice<K,V> |
makeRawValueVersion() |
void |
setDebugName(java.lang.String debugName) |
java.lang.String |
toString() |
public BasicWritableSlice(RewritePolicy rewritePolicy)
public BasicWritableSlice(RewritePolicy rewritePolicy, boolean isCollective)
public static java.lang.Void initSliceDebugNames(java.lang.Class<?> declarationOwner)
public SlicedMapKey<K,V> makeKey(K key)
makeKey
in interface ReadOnlySlice<K,V>
public void afterPut(MutableSlicedMap map, K key, V value)
afterPut
in interface WritableSlice<K,V>
public V computeValue(SlicedMap map, K key, V value, boolean valueNotFound)
computeValue
in interface ReadOnlySlice<K,V>
public RewritePolicy getRewritePolicy()
getRewritePolicy
in interface WritableSlice<K,V>
public boolean isCollective()
isCollective
in interface WritableSlice<K,V>
public void setDebugName(@NotNull java.lang.String debugName)
public java.lang.String toString()
toString
in class java.lang.Object
public ReadOnlySlice<K,V> makeRawValueVersion()
makeRawValueVersion
in interface ReadOnlySlice<K,V>