public interface RealtimeListAccess<E>
extends org.exoplatform.commons.utils.ListAccess<E>
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfMultiUpdated(Map<String,Long> sinceTime)
Gets the number of updated elements based on the of multi-value since time.
|
int |
getNumberOfNewer(E e)
Gets the number of newer elements based on the provided element.
|
int |
getNumberOfNewer(Long sinceTime)
Gets the number of newer elements based on the updated time.
|
int |
getNumberOfOlder(E e)
Gets the number of older elements based on the provided element.
|
int |
getNumberOfOlder(Long sinceTime)
Gets the number of older elements based on the updated time.
|
int |
getNumberOfUpgrade()
Gets the number of stream elements based on the updated time.
|
int |
getSize()
Overrides its parent interface to avoid checked-exception.
|
List<E> |
getUpadtedActivities(Long sinceTime,
int limit)
Gets get updated activities base on since time.
|
E[] |
load(int index,
int limit)
Overrides its parent interface to avoid checked-exception.
|
List<E> |
loadAsList(int index,
int limit)
Loads items as list instead of array as from
load(int, int). |
List<String> |
loadIdsAsList(int index,
int limit)
Loads items as Ids list instead of array as from
load(int, int). |
List<E> |
loadNewer(E e,
int length)
Loads newer elements based on the provided element.
|
List<E> |
loadNewer(Long sinceTime,
int limit)
Loads newer elements based on the provided element.
|
List<E> |
loadOlder(E e,
int length)
Loads older elements based on the provided element.
|
List<E> |
loadOlder(Long sinceTime,
int limit)
Loads older elements based on the provided element.
|
List<E> loadAsList(int index, int limit)
load(int, int).index - the indexlimit - the number to loadList<String> loadIdsAsList(int index, int limit)
load(int, int).index - the indexlimit - the number to loadE[] load(int index, int limit)
load in interface org.exoplatform.commons.utils.ListAccess<E>index - the indexlimit - the maximum of elements to returnint getSize()
getSize in interface org.exoplatform.commons.utils.ListAccess<E>List<E> loadNewer(E e, int length)
e - the based elementlength - number of newer elements to loadint getNumberOfNewer(E e)
e - the provided elementList<E> loadOlder(E e, int length)
e - the based elementlength - number of older elements to loadint getNumberOfOlder(E e)
e - the provided elementint getNumberOfNewer(Long sinceTime)
sinceTime - the updated timeint getNumberOfMultiUpdated(Map<String,Long> sinceTime)
sinceTime - the postedTimeList<E> getUpadtedActivities(Long sinceTime, int limit)
sinceTime - the sinceTimelimit - number of newer elements to loadList<E> loadNewer(Long sinceTime, int limit)
sinceTime - updated time of newer elements to loadlimit - number of newer elements to loadList<E> loadOlder(Long sinceTime, int limit)
sinceTime - updated time of older elements to loadlimit - number of older elements to loadint getNumberOfOlder(Long sinceTime)
sinceTime - the updated timeint getNumberOfUpgrade()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.