public interface InfinispanAsyncMap<K,V>
AsyncMap
.Modifier and Type | Method and Description |
---|---|
ReadStream<Map.Entry<K,V>> |
entryStream()
Get the entries of the map as a
ReadStream . |
ReadStream<K> |
keyStream()
Get the keys of the map as a
ReadStream . |
static <K,V> InfinispanAsyncMap<K,V> |
unwrap(AsyncMap asyncMap)
Unwraps a generic
AsyncMap to an InfinispanAsyncMap . |
ReadStream<V> |
valueStream()
Get the values of the map as a
ReadStream . |
static <K,V> InfinispanAsyncMap<K,V> unwrap(AsyncMap asyncMap)
AsyncMap
to an InfinispanAsyncMap
.IllegalArgumentException
- if underlying implementation is not InfinispanReadStream<K> keyStream()
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.
ReadStream<V> valueStream()
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.
ReadStream<Map.Entry<K,V>> entryStream()
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.
Copyright © 2024 Eclipse. All rights reserved.