public interface CachedList<T> extends CachedCollection<T,List<T>>
CachedCollection
. Call load()
to initially load its contents
from the server or to clear the cache and reload at a later time.Modifier and Type | Method and Description |
---|---|
CachedList<T> |
load()
Clears and loads the content of this list from the server.
|
CachedList<T> |
loadFirstTime()
Loads the content of this list from the server if it hasn't been loaded
before.
|
List<T> |
toList()
Synonymous to
CachedCollection.get() , returns this CachedList's contents as an
immutable List. |
get, isLoaded
CachedList<T> load()
load
in interface CachedCollection<T,List<T>>
CachedList<T> loadFirstTime()
loadFirstTime
in interface CachedCollection<T,List<T>>
List<T> toList()
CachedCollection.get()
, returns this CachedList's contents as an
immutable List.Copyright © 2014. All rights reserved.