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
    • 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 the MultiBinaryLongMap used to store the underlying keys in this KeySetAware BinaryStore.
        Returns:
        the MultiBinaryLongMap used to store the keys in this BinaryStore