Interface InfinispanAsyncMap<K,​V>


  • public interface InfinispanAsyncMap<K,​V>
    Extensions to the generic AsyncMap.
    Author:
    Thomas Segismont
    • Method Detail

      • keyStream

        ReadStream<K> keyStream()
        Get the keys of the map as a ReadStream.

        The stream will be automatically closed if it fails or ends. Otherwise you must set a null data handler after usage to avoid leaking resources.

        Returns:
        a stream of map keys
      • valueStream

        ReadStream<V> valueStream()
        Get the values of the map as a ReadStream.

        The stream will be automatically closed if it fails or ends. Otherwise you must set a null data handler after usage to avoid leaking resources.

        Returns:
        a stream of map values
      • entryStream

        ReadStream<Map.Entry<K,​V>> entryStream()
        Get the entries of the map as a ReadStream.

        The stream will be automatically closed if it fails or ends. Otherwise you must set a null data handler after usage to avoid leaking resources.

        Returns:
        a stream of map entries