]> source.dussan.org Git - vaadin-framework.git/commit
When closeIdleUIs is true, close open UIs only after all UIs have been idle for longe... 36/236/8
authorJohannes Dahlström <johannesd@vaadin.com>
Thu, 1 Nov 2012 13:10:40 +0000 (15:10 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 20 Nov 2012 11:25:37 +0000 (11:25 +0000)
commit1384f1eb2c973252da27d6e379d8b863d912b22e
treee2aad5da0e41b03dc9cb05e84e3b8e09ee9d7cbf
parent0e8647784782e132bed9ec93ed47ea876f753534
When closeIdleUIs is true, close open UIs only after all UIs have been idle for longer than the session timeout

* Rename closeIdleUIs to closeIdleSessions, isIdleUICleanupEnabled to isCloseIdleSessions (#10252)
* Close the whole session at the same time as well
* Move UI lastUidlRequestTime to VaadinSession lastRequestTimestamp (#10253)
* Rename VaadinSession lastRequestTime to lastRequestDuration, totalSessionTime to cumulativeRequestDuration (#10253)
* Rename UI lastHeartbeatTime to lastHeartbeatTimestamp
* Show "Session Expired" notification when a heartbeat fails because of this

Change-Id: If3d4bd9add9995f435c29812eec00b3a3a92a6e6
12 files changed:
WebContent/WEB-INF/web.xml
client/src/com/vaadin/client/ApplicationConfiguration.java
client/src/com/vaadin/client/ApplicationConnection.java
server/src/com/vaadin/server/AbstractCommunicationManager.java
server/src/com/vaadin/server/BootstrapHandler.java
server/src/com/vaadin/server/Constants.java
server/src/com/vaadin/server/DefaultDeploymentConfiguration.java
server/src/com/vaadin/server/DeploymentConfiguration.java
server/src/com/vaadin/server/RequestTimer.java
server/src/com/vaadin/server/VaadinSession.java
server/src/com/vaadin/ui/UI.java
uitest/src/com/vaadin/tests/application/DeploymentConfigurationTest.html