Package com.appliedolap.essbase
Interface EssSession
- All Superinterfaces:
EssObject
- All Known Implementing Classes:
EssSessionImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.Type -
Method Summary
Modifier and TypeMethodDescriptionThe application this session is attached to, or null for one that isn't attached to any.Get the connection source (not sure what this signifies, but it's in the source JSON...)The cube this session is attached to, or null.longNumber of seconds session has been createdgetName()Standard implementation.Gets the ID of this session.getType()Gets the type of this object.Get the user for the session.voidkill(boolean logoff) Kill the session.
-
Method Details
-
getSessionId
Long getSessionId()Gets the ID of this session.- Returns:
- the session ID
-
getUserId
String getUserId()Get the user for the session.- Returns:
- the user ID
-
getLoginTimeInSeconds
long getLoginTimeInSeconds()Number of seconds session has been created- Returns:
- the number of seconds the session has been created
-
getConnectionSource
String getConnectionSource()Get the connection source (not sure what this signifies, but it's in the source JSON...)- Returns:
- the connection source
-
getApplication
String getApplication()The application this session is attached to, or null for one that isn't attached to any.A session listed under a cube always names one; the server-wide list returns plenty that do not, because connecting to Essbase and opening a cube are separate things.
- Returns:
- the application name, or null
-
getDatabase
String getDatabase()The cube this session is attached to, or null.- Returns:
- the database name, or null
-
kill
void kill(boolean logoff) Kill the session.- Parameters:
logoff- true to also log it off (e.g., it'll disappear from the list of sessions)
-
getName
String getName()Standard implementation. -
getType
EssObject.Type getType()Description copied from interface:EssObjectGets the type of this object.
-