R
- The expected reference type (input)O
- The resulting object type (output)public interface ObjectLoader<R,O>
Modifier and Type | Method and Description |
---|---|
static <T> ObjectLoader<T,T> |
identity() |
List<O> |
loadBlocking(List<R> references)
Loads the entities corresponding to the given references, blocking the current thread while doing so.
|
List<O> loadBlocking(List<R> references)
references
- A list of references to the objects to load.null
is inserted when an object is not found.static <T> ObjectLoader<T,T> identity()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.