public class

SessionAliveTask

extends AbstractAppTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.app.tasks.AbstractAppTask
       ↳ com.microstrategy.web.app.tasks.SessionAliveTask

Class Overview

This task checks whether an Intelligence Server session is alive.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
SessionAliveTask()
Default no args constructor
Public Methods
void processRequest(TaskRequestContext context, TaskOutput out)
This task tries to check for whether the WebIServerSession is timeout.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.AbstractAppTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Public Constructors

public SessionAliveTask ()

Default no args constructor

Public Methods

public void processRequest (TaskRequestContext context, TaskOutput out)

This task tries to check for whether the WebIServerSession is timeout. If session is alive, returns the remaining time to be active. If task fails or session is timeout, returns -1L.

Parameters
context The TaskRequestContext object that maintains the state of the request.
out taskOutput The TaskOutput that records the contents of the Task response.
Throws
TaskException If the session is not alive.