Hello folks,
                  The suggestion is to use windowState() for a key key per
window state and clear the state explicitly.  Also it seems that
getRuntime().getState() will return a globalWindow() where state is shared
among windows with the same key. I desire of course to have state scoped to
a key per window and was wanting to use windowState().. The caveat is that
my window is a Session Window and when I try to use clear()  I am
thrown this exception  ( Session Windows are Merging Windows )

Caused by: java.lang.UnsupportedOperationException: Per-window state is not
allowed when using merging windows.


The questions are

* How do I have state per *session* window/ per key and still be able to
clear it ?
* Does getRuntime().getState() give me the clear() semantics for free along
with state per window per key and thus I  have
understood  getRuntime().getState() wrong ?

Regards.

Reply via email to