public interface CachedCollection<T,C extends Collection<T>>
loadFirstTime()
to
initially load its contents from the server or load()
to clear the
cache and reload at a later time.Modifier and Type | Method and Description |
---|---|
C |
get()
Returns the immutable content of this cached collection.
|
boolean |
isLoaded()
Returns true if this cached collection has been loaded from the
server.
|
CachedCollection<T,C> |
load()
Clears and loads the content of this collection from the server.
|
CachedCollection<T,C> |
loadFirstTime()
Loads the content of this collection from the server if it hasn't been
loaded before.
|
C get()
CachedCollection<T,C> load()
CachedCollection<T,C> loadFirstTime()
boolean isLoaded()
Copyright © 2014. All rights reserved.