We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.nodefeature.
Class PollConfigurationMap
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeMap
com.vaadin.flow.internal.nodefeature.PollConfigurationMap
All Implemented Interfaces:
A node map for storing configuration for polling.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the poll interval.
void
setPollInterval
(int pollInterval) Sets the poll interval.
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeMap
clear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, producePutChange, put, put, remove, updateFromClient
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
-
Field Details
-
POLL_INTERVAL_KEY
See Also:
-
-
Constructor Details
-
PollConfigurationMap
Creates a new map for the given node.
Parameters:
node
- the node that the map belongs to
-
-
Method Details
-
setPollInterval
public void setPollInterval(int pollInterval) Sets the poll interval.
Parameters:
pollInterval
- the intervalSee Also:
-
getPollInterval
public int getPollInterval()Gets the poll interval.
Returns:
the poll interval
See Also:
-