Package com.vaadin.kubernetes.starter
Class SerializationProperties
java.lang.Object
com.vaadin.kubernetes.starter.SerializationProperties
@ConfigurationProperties(prefix="vaadin.serialization")
public class SerializationProperties
extends Object
Definition of configuration properties for Session serialization.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the timeout in milliseconds to wait for the serialization to be completed.com.vaadin.kubernetes.starter.SerializationProperties.TransientsPropertiesGets configuration for transient fields handling during serialization.voidsetTimeout(int timeout) Sets the timeout in milliseconds to wait for the serialization to be completed.
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_SERIALIZATION_TIMEOUT_MS
public static final int DEFAULT_SERIALIZATION_TIMEOUT_MS- See Also:
-
-
Constructor Details
-
SerializationProperties
public SerializationProperties()
-
-
Method Details
-
getTimeout
public int getTimeout()Gets the timeout in milliseconds to wait for the serialization to be completed.- Returns:
- the timeout in milliseconds to wait for the serialization to be completed, defaults to 30000 ms
-
setTimeout
public void setTimeout(int timeout) Sets the timeout in milliseconds to wait for the serialization to be completed.- Parameters:
timeout- the timeout in milliseconds to wait for the serialization to be completed, defaults to 30000 ms
-
getTransients
public com.vaadin.kubernetes.starter.SerializationProperties.TransientsProperties getTransients()Gets configuration for transient fields handling during serialization.- Returns:
- configuration for transient fields handling.
-