Package eu.antidotedb.client
Interface BatchReadResult<T>
-
public interface BatchReadResult<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
get()
Get the result from the batch-read.default <S> BatchReadResult<S>
map(java.util.function.Function<T,S> f)
void
whenReady(java.util.function.Consumer<T> f)
-
-
-
Method Detail
-
get
T get()
Get the result from the batch-read.Performs the batch read, if the value is not yet available
-
whenReady
void whenReady(java.util.function.Consumer<T> f)
-
map
default <S> BatchReadResult<S> map(java.util.function.Function<T,S> f)
-
-