public abstract class EverSlowingAbstractAjaxTimerBehavior
extends org.apache.wicket.ajax.AbstractAjaxTimerBehavior
This means that initially the refresh rate is once a second, so the user will see the data updated quickly. But after a while, it will gradually slow, until it reaches once a minute.
This is a good balance between the user seeing the data update frequently (at the beginning), and not spamming our server if lots of people leave their web browsers open.
| Constructor and Description |
|---|
EverSlowingAbstractAjaxTimerBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onEverSlowingTimer(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
onTimer(org.apache.wicket.ajax.AjaxRequestTarget target) |
getTimerId, getUpdateInterval, isStopped, onRemove, onTimer, onUnbind, renderHead, respond, restart, setUpdateInterval, shouldTrigger, stopfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, unbindbeforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onTagCopyright © 2003–2018. All rights reserved.