Package io.siddhi.core.util
Class SessionContainer
- java.lang.Object
-
- io.siddhi.core.util.SessionContainer
-
- All Implemented Interfaces:
Serializable
public class SessionContainer extends Object implements Serializable
This keeps the information of a session key. i.e. current session and the previous session- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionContainer()SessionContainer(String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionWindowProcessor.SessionComplexEventChunk<StreamEvent>getCurrentSession()longgetCurrentSessionEndTimestamp()StringgetKey()SessionWindowProcessor.SessionComplexEventChunk<StreamEvent>getPreviousSession()longgetPreviousSessionEndTimestamp()voidsetKey(String key)
-
-
-
Constructor Detail
-
SessionContainer
public SessionContainer(String key)
-
SessionContainer
public SessionContainer()
-
-
Method Detail
-
getCurrentSessionEndTimestamp
public long getCurrentSessionEndTimestamp()
-
getPreviousSessionEndTimestamp
public long getPreviousSessionEndTimestamp()
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getCurrentSession
public SessionWindowProcessor.SessionComplexEventChunk<StreamEvent> getCurrentSession()
-
getPreviousSession
public SessionWindowProcessor.SessionComplexEventChunk<StreamEvent> getPreviousSession()
-
-