PromisedValues
that is completed when all of
the given CompletionStage
s complete.PromisedValues
that is completed when all of
the given CompletionStage
s complete.PromisedValues
that is completed when all of
the given CompletionStage
s complete.PromisedValues
that is completed when all of
the given CompletionStage
s complete.PromisedValues
that is completed when all of
the given PromisedValues
s complete.PromisedValues
that is completed when all of
the given PromisedValues
s complete.PromisedValues
that is completed when all of
the given PromisedValues
s complete.PromisedValues
that is completed when all of
the given PromisedValues
s complete.DataLoader
code to
provide overall calling context to the BatchLoader
call.DataLoader
code to
provide BatchLoaderEnvironment
calling context to
the BatchLoader
call.BatchLoader
is given a BatchLoaderEnvironment
object
that encapsulates the calling context.K
to derive keys that are required by the CacheMap
implementation.DataLoader
instances.CacheMap
that is based on a regular LinkedHashMap
.DataLoader.dispatch()
on each of the registered
DataLoader
sDataLoader.dispatch()
is an asynchronous operation but this version will 'join' on the
results if dispatch and wait for them to complete.BatchLoaderContextProvider
DataLoader.load(Object)
call that has in fact been completed or empty
if no call has been made for that key or the promise has not completed yet.DataLoader.load(Object)
call or empty if not call has been made for that key.DataLoader.load(Object, Object)
or
DataLoader.loadMany(java.util.List, java.util.List)
can be given
a context object when it is invoked.DataLoader.load(Object, Object)
or
DataLoader.loadMany(java.util.List, java.util.List)
can be given
a context object when it is invoked.PromisedValues
has completed)MappedBatchLoader
is given a BatchLoaderEnvironment
object
that encapsulates the calling context.BatchLoader
function
before they are split into multiple classTry
objects.Try
objects.Try
objects.Try
objects.Try
objects.Try
objects.Try
objects.Try
objects.CompletionStage
s to be combined together and completed
as one and should something go wrong, instead of throwing CompletionException
s it captures the cause and returns null for that
data value, other wise it allows you to access them as a list of values.BatchLoader
function
before they are split into multiple classLinkedHashMap
.AtomicLong
s to collect
statisticsDataLoader
has performedDataLoader
operationsCompletionStage
at the specified index succeededPromisedValues
as a parameterCopyright © 2017–2021. All rights reserved.