org.apache.openjpa.lib.rop
Class SoftRandomAccessResultList
java.lang.Object
org.apache.openjpa.lib.rop.AbstractResultList
org.apache.openjpa.lib.rop.AbstractNonSequentialResultList
org.apache.openjpa.lib.rop.RandomAccessResultList
org.apache.openjpa.lib.rop.SoftRandomAccessResultList
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List, ResultList, Closeable
public class SoftRandomAccessResultList
- extends RandomAccessResultList
Specialization of the RandomAccessResultList
that only maintains
soft references to instantiated objects.
- Author:
- Abe White
- See Also:
- Serialized Form
Method Summary |
protected Map |
newRowMap()
Override this method to control what kind of map is used for
the instantiated rows. |
Methods inherited from class org.apache.openjpa.lib.rop.AbstractNonSequentialResultList |
contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, toArray, toArray |
Methods inherited from class org.apache.openjpa.lib.rop.AbstractResultList |
add, add, addAll, addAll, assertOpen, clear, remove, remove, removeAll, retainAll, set, subList |
SoftRandomAccessResultList
public SoftRandomAccessResultList(ResultObjectProvider rop)
newRowMap
protected Map newRowMap()
- Description copied from class:
RandomAccessResultList
- Override this method to control what kind of map is used for
the instantiated rows.
- Overrides:
newRowMap
in class RandomAccessResultList
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.