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:
Serializable
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
-
Constructor Summary
-
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 interval- See Also:
-
getPollInterval
public int getPollInterval()Gets the poll interval.- Returns:
- the poll interval
- See Also:
-