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()
ItemDAO
getItemIds
in interface ItemDAO
public void describeTo(DescriptionWriter writer)
Describable
describeTo
in interface Describable
writer
- The description writer to use.