T - public abstract class CachingFutureModel<T extends Serializable> extends Object implements org.apache.wicket.model.IModel<T>
Futures have the problem that they are not serializable. Wicket only needs to serialize things after they've been displayed, i.e. after the future has delivered its results.
| Modifier and Type | Field and Description |
|---|---|
protected T |
contents |
protected Future<T> |
future |
| Constructor and Description |
|---|
CachingFutureModel() |
| Modifier and Type | Method and Description |
|---|---|
T |
getObject() |
protected abstract T |
populate() |
@CheckForNull protected final transient Future<T extends Serializable> future
@CheckForNull protected T extends Serializable contents
public T getObject()
getObject in interface org.apache.wicket.model.IModel<T extends Serializable>Copyright © 2003–2018. All rights reserved.