Interface CommonContextMap
-
public interface CommonContextMapProvides a subset of Map interface - without methods that directly refer to values. This allows us to offload the values to disk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCommonContextMap.ContextWithMetadata
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable CommonContextMap.ContextWithMetadataget(ResultKey resultKey)@NotNull Set<ResultKey>keySet()voidput(ResultKey resultKey, CommonContextMap.ContextWithMetadata contextWithMetadata)booleanremove(ResultKey resultKey)intsize()
-
-
-
Method Detail
-
get
@Nullable @Nullable CommonContextMap.ContextWithMetadata get(ResultKey resultKey)
-
put
void put(ResultKey resultKey, CommonContextMap.ContextWithMetadata contextWithMetadata)
-
remove
boolean remove(ResultKey resultKey)
- Returns:
- true if something was removed
-
size
int size()
-
-