There are currently several proposals beeing formed.
i.e.:
public <T extends Entry> T read(T template, Transaction txn, long timeout)