public class SessionWindow extends Object
session
window
to track the behavior of the users in an online shop. It
handles two kinds of events:
userId
and infers the duration of
a single user session from the spread between adjacent events by the
same user. Any period longer than the session timeout without further
events from the same user ends the session window and allows its results
to be emitted. The aggregated results of a session consist of two items:
the total number of product listing views and the set of purchased items.Constructor and Description |
---|
SessionWindow() |
Copyright © 2019 Hazelcast, Inc.. All rights reserved.