public class MonitoredLazyLoadItemList<E> extends LazyLoadItemList<E>
LazyLoadItemList.BufferedPage<T>DEFAULT_PREFETCH_SIZE, DEFUALT_PREFETCH_SIZE, EMPTY_LIST, PREFETCH_SIZE_PROPERTYDEFAULT_CONFIG_PREFETCH_SIZE| Constructor and Description |
|---|
MonitoredLazyLoadItemList(java.util.Set<PK> prefetchLanguages,
java.util.List<PK> pks,
int prefetchSize) |
| Modifier and Type | Method and Description |
|---|---|
protected E |
getBuffered(int listPos)
Gets an object of type E for absolute global given
listPos. |
boolean |
isNotEmptyPageBuffer() |
add, clear, get, getBufferedPageIfLoaded, getCurrentBufferedPage, getOrSwitchBufferedPage, invalidateBuffer, isIgnoreMissing, loadPage, remove, set, setIgnoreMissing, setModifiable, setPreFetchSize, switchBufferedPage, switchBufferedPageNoLock, switchBufferedPageSynchronized, switchPageassureIndex, contains, equals, getConfig, getPK, getPKList, getPKListInternal, getPrefetchLanguages, getPreFetchSize, hashCode, isModifiable, iterator, size, toStringadd, addAll, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected E getBuffered(int listPos)
LazyLoadItemListlistPos. Internally it checks if this index is
accessible for the current page if not appropriate page is loaded.
Method ensured by change of volatile LazyLoadItemList.currentBufferedPage to retrieve consistent result for given index in
multi-threaded environment.
getBuffered in class LazyLoadItemList<E>public boolean isNotEmptyPageBuffer()
Copyright © 2018 SAP SE. All Rights Reserved.