public final class PrefetchingItemDAO extends Object implements ItemDAO, Describable
| Constructor and Description |
|---|
PrefetchingItemDAO(EventDAO events) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(DescriptionWriter writer)
Write this class's description to a sink.
|
LongSet |
getItemIds()
Get all known item IDs.
|
static Function<EventDAO,ItemDAO> |
wrapper()
A function that wraps an event DAO in a prefetching item DAO.
|
@Inject public PrefetchingItemDAO(EventDAO events)
public static Function<EventDAO,ItemDAO> wrapper()
ItemDAO, it is returned unwrapped.public LongSet getItemIds()
ItemDAOgetItemIds in interface ItemDAOpublic void describeTo(DescriptionWriter writer)
DescribabledescribeTo in interface Describablewriter - The description writer to use.