Package org.infinispan.query.impl
Class MetadataEntityLoader<E>
java.lang.Object
org.infinispan.query.impl.MetadataEntityLoader<E>
- All Implemented Interfaces:
PojoSelectionEntityLoader<EntityLoaded<E>>
public final class MetadataEntityLoader<E>
extends Object
implements PojoSelectionEntityLoader<EntityLoaded<E>>
- Since:
- 5.0
- Author:
- Sanne Grinovero <sanne@hibernate.org> (C) 2011 Red Hat Inc., Marko Luksa
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()loadBlocking(List<?> identifiers, Deadline deadline) Loads the entities corresponding to the given identifiers, blocking the current thread while doing so.
-
Method Details
-
loadBlocking
Description copied from interface:PojoSelectionEntityLoaderLoads the entities corresponding to the given identifiers, blocking the current thread while doing so.- Specified by:
loadBlockingin interfacePojoSelectionEntityLoader<E>- Parameters:
identifiers- A list of identifiers for objects to load.deadline- The deadline for loading the entities, ornullif there is no deadline. Should be complied with on a best-effort basis: it's acceptable to ignore it, but it means some timeouts in Hibernate Search will not work properly.- Returns:
- A list of entities, in the same order the references were given.
nullis inserted when an object is not found or has an excluded types (seePojoSelectionLoadingStrategy.createEntityLoader(Set, PojoSelectionLoadingContext)).
-
equals
-
hashCode
public int hashCode()
-