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
public class PollConfigurationMap extends NodeMap
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
POLL_INTERVAL_KEY
-
Constructor Summary
Constructors Constructor Description PollConfigurationMap(StateNode node)
Creates a new map for the given node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPollInterval()
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 Detail
-
POLL_INTERVAL_KEY
public static final String POLL_INTERVAL_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PollConfigurationMap
public PollConfigurationMap(StateNode node)
Creates a new map for the given node.- Parameters:
node
- the node that the map belongs to
-
-
Method Detail
-
setPollInterval
public void setPollInterval(int pollInterval)
Sets the poll interval.- Parameters:
pollInterval
- the interval- See Also:
UI.setPollInterval(int)
-
getPollInterval
public int getPollInterval()
Gets the poll interval.- Returns:
- the poll interval
- See Also:
UI.getPollInterval()
-
-