Package com.tangosol.io
Interface BinaryStore.KeySetAware
-
- All Superinterfaces:
BinaryStore
,BinaryStore.SizeAware
- All Known Implementing Classes:
JournalBinaryStore
- Enclosing interface:
- BinaryStore
public static interface BinaryStore.KeySetAware extends BinaryStore.SizeAware
If a BinaryStore is aware of which keys that it stores, then it should implement this optional interface in order to allow that information to be efficiently communicated to an intelligent consumer of the BinaryStore interface.- Since:
- Coherence 12.1.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tangosol.io.BinaryStore
BinaryStore.KeySetAware, BinaryStore.SizeAware
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsKey(Binary binKey)
Return true iff this BinaryStore contains a mapping for the specified key.MultiBinaryLongMap
getMultiBinaryLongMap()
Return theMultiBinaryLongMap
used to store the underlying keys in this KeySetAware BinaryStore.-
Methods inherited from interface com.tangosol.io.BinaryStore.SizeAware
size
-
-
-
-
Method Detail
-
containsKey
boolean containsKey(Binary binKey)
Return true iff this BinaryStore contains a mapping for the specified key.- Parameters:
binKey
- key whose presence in the BinaryStore is to be tested- Returns:
- true iff this BinaryStore contains a mapping for the specified key
-
getMultiBinaryLongMap
MultiBinaryLongMap getMultiBinaryLongMap()
Return theMultiBinaryLongMap
used to store the underlying keys in this KeySetAware BinaryStore.- Returns:
- the MultiBinaryLongMap used to store the keys in this BinaryStore
-
-