com.apama.session.dataview
Event SessionManagerDataView
datastreamTypeToName
dictionary<string, string > datastreamTypeToName
dvFieldNames
sequence<string > dvFieldNames
dvFieldNameToIndex
dictionary<string, integer > dvFieldNameToIndex
dvFieldTypes
sequence<string > dvFieldTypes
dvName
wildcard string dvName
sessionManagerIface
com.apama.session.SessionManagerInterface sessionManagerIface
sessionToDVItem
dictionary<integer, integer > sessionToDVItem
addSessionInfo
void addSessionInfo(com.apama.session.SessionInfo sessionInfo)
Utility to add a new Session to the dataview.
-
Parameters:
-
sessionInfo - The SessionInfo for the newly added Session.
create
void create(string dvName, string dvDisplayName, dictionary<string, string > datastreamTypeToName)
Create a dataview for all Session instances. This should only ever be called once e.g. (new SessionDataView).create() within an application per required dvName.
-
Parameters:
-
dvName - The dataview name to create.
-
dvDisplayName - The dataview display name to create.
-
datastreamTypeToName - Dictionary of datastream types to display names for the dataview to display.
DVFIELDNAMES
sequence<string > DVFIELDNAMES()
DVFIELDTYPES
sequence<string > DVFIELDTYPES()
removeSession
void removeSession(integer sessionId)
Utility to delete an item in the Sessions dataview.
-
Parameters:
-
sessionId
sessionAdded
void sessionAdded(com.apama.session.SessionInfo sessionInfo)
-
Parameters:
-
sessionInfo
sessionManagerCreated
void sessionManagerCreated(com.apama.session.SessionManagerInterface iface)
-
Parameters:
-
iface
sessionRemoved
void sessionRemoved(com.apama.session.SessionInfo sessionInfo)
-
Parameters:
-
sessionInfo
sessionUpdated
void sessionUpdated(com.apama.session.SessionInfo sessionInfo)
-
Parameters:
-
sessionInfo
updateSessionCapabilities
void updateSessionCapabilities(integer sessionId, com.apama.session.SessionCapabilities sessionCapabilities)
Utility to update the capabilities of a Session.
-
Parameters:
-
sessionId
-
sessionCapabilities
updateSessionState
void updateSessionState(integer sessionId, boolean connected, boolean started)
Utility to update the state of a session.
-
Parameters:
-
sessionId
-
connected
-
started