public class Poller extends Object
| Constructor and Description |
|---|
Poller(Registry registry)
Creates a new instance using the given registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
poll()
Polls the server for changes.
|
void |
setInterval(int interval)
Sets the polling interval.
|
public Poller(Registry registry)
registry - the registrypublic void setInterval(int interval)
Changing the polling interval will stop any current polling and schedule a new poll to happen after the given interval.
interval - The interval to usepublic void poll()
Copyright © 2000–2018 Vaadin Ltd. All rights reserved.