You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Amount of time to be added to the HTTP session timeout to determine the expiration of the backend session. If not set, backend session never expires. See <<Backend Session Expiration Policy>> for details.
32
+
|
33
+
34
+
35
+
|===
36
+
37
+
== Serialization Properties
38
+
39
+
|===
40
+
| Property | Description | Default Value
41
+
42
+
| `vaadin.serialization.timeout`
43
+
| Sets the timeout in milliseconds to wait for the serialization to be completed.
44
+
| 30000 (30 seconds)
45
+
46
+
| `vaadin.serialization.optimistic-timeout`
47
+
| Sets the timeout in milliseconds to wait for the optimistic serialization to be completed.
48
+
| 30000 (30 seconds)
49
+
50
+
| `vaadin.serialization.optimistic-delay`
51
+
| Sets the delay in milliseconds to wait between optimistic serialization attempts.
| Sets the timeout in milliseconds to wait for the deserialization lock to be released if the deserialization is not completed.
56
+
| 10000 (10 seconds)
57
+
58
+
|===
59
+
12
60
== Packages Inspected during Serialization
13
61
14
62
When a session is serialized, Kubernetes Kit inspects classes for transient fields that can be injected during deserialization (see <<session-replication#,session replication>>).
@@ -39,7 +87,8 @@ vaadin:
39
87
40
88
== Hazelcast for Session Replication
41
89
42
-
The `service-name` property defines the name of the Hazelcast service deployment within a cluster.
90
+
The `service-name` and `service-port` properties defines the endpoint of the Hazelcast service deployment within a cluster.
91
+
If `service-port` is specified with a value greater than 0, it overrides the default Hazelcast port (5701).
43
92
44
93
The optional `namespace` property is used when the Hazelcast service is deployed in a namespace other than `default`.
45
94
@@ -63,6 +112,13 @@ vaadin:
63
112
----
64
113
--
65
114
115
+
[NOTE]
116
+
====
117
+
By default, Hazelcast installs a shutdown hook to stop the instance when the JVM shuts down.
118
+
Kubernetes Kit requires the shutdown hook to be disabled to ensure that the latest session state can be persisted when the application stops.
119
+
The Kit automatically applies the configuration; however, if the application provides a custom `HazelcastInstance` bean, it is important that it is configured with `hazelcast.shutdownhook.enabled=false`. A warning message is printed on the console at startup if the shutdown hook is enabled.
120
+
Spring takes care of automatically gracefully stop the Hazelcast instance when the bean is destroyed.
0 commit comments