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