Interface CommonContextMap
-
public interface CommonContextMap
Provides 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 class
CommonContextMap.ContextWithMetadata
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable CommonContextMap.ContextWithMetadata
get(ResultKey resultKey)
@NotNull Set<ResultKey>
keySet()
void
put(ResultKey resultKey, CommonContextMap.ContextWithMetadata contextWithMetadata)
boolean
remove(ResultKey resultKey)
int
size()
-
-
-
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()
-
-