Interface BinaryStore.SizeAware

  • All Superinterfaces:
    BinaryStore
    All Known Subinterfaces:
    BinaryStore.KeySetAware
    All Known Implementing Classes:
    BinaryMapStore
    Enclosing interface:
    BinaryStore

    public static interface BinaryStore.SizeAware
    extends BinaryStore
    If a BinaryStore is aware of the number of 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 3.7
    • Method Detail

      • size

        int size()
        Determine the number of keys in the BinaryStore.
        Returns:
        the number of keys in the BinaryStore
        Since:
        Coherence 3.7