public class

ACMSDKHelpers

extends Object
java.lang.Object
   ↳ com.microstrategy.webapi.ACMSDKHelpers

Class Overview

ACMSDKHelpers has miscellaneous semi-generic helper methods

Summary

Nested Classes
class ACMSDKHelpers.ConfigSessionProjectsResolver  
class ACMSDKHelpers.IServerSessionIdleTimeout  
class ACMSDKHelpers.UserAffinity  
Public Constructors
ACMSDKHelpers()
Public Methods
static void close(IDSSXMLSessionId iSessionId, ACMMasterSessionBundle iMasterSessionBundle, ACMClusterInfo iClusterInfo)
close will close the Session to the IServer.
static Map<String, String> getAllPidsInCluster(IDSSXMLServerSession iServerSession)
getAllPidsInCluster gets all the projects across all the IServers in a cluster
static void refreshAllClusterInfo()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ACMSDKHelpers ()

Public Methods

public static void close (IDSSXMLSessionId iSessionId, ACMMasterSessionBundle iMasterSessionBundle, ACMClusterInfo iClusterInfo)

close will close the Session to the IServer. If the session is a Project Session Id or a Configuration Session Id, then just that session id is closed. If the session is a Master Session Id, then all Project and Configuration sessions under it will also be closed.

Parameters
iSessionId a Project, Configuration, or Master session id
iMasterSessionBundle holds GSS credentials, needed to communicate with the kerberos server
iClusterInfo holds connectivity information to the session id

public static Map<String, String> getAllPidsInCluster (IDSSXMLServerSession iServerSession)

getAllPidsInCluster gets all the projects across all the IServers in a cluster

Parameters
iServerSession the session id to use to communicate with the IServer
Returns
  • a hashmap containing all the project ids in the cluster.

public static void refreshAllClusterInfo ()