java.lang.Object | |
↳ | com.microstrategy.web.admin.beans.AdminServersHelper |
AdminServersHelper Provides utility functions used in connecting/disconnecting admin servers
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
checkIServerName(String name)
Checks if the version of an iServer can be used with the current version of Web.
| ||||||||||
static void | checkIServerVersion(WebIServerSession session) | ||||||||||
static void |
checkIServerVersion(String name, int port)
Checks if the version of an iServer can be used with the current version of Web.
| ||||||||||
static void |
connectIServers(AppContext context)
This method will go through all the Intelligent Servers present on the web server and will automatically connect to all
those servers which are set to be in AUTO connect mode.
| ||||||||||
static void |
connectIServers(AdminServersList adminServersList)
This method will go through all the Intelligent Servers present on the web server and will automatically connect to all
those servers which are set to be in AUTO connect mode.
| ||||||||||
static void | ensureServersAreConnected() | ||||||||||
static HashList<String, String> |
getApplyOptions(String serverName, String projectName, AbstractAppTransform transform)
Convenience method that returns the options use by the preferences transforms to indicate whether the
changes will apply to the current project, or to all the projects in the current Intelligent Server.
| ||||||||||
static AdminServersHelper | getInstance() | ||||||||||
static String |
getRequestServerName(AppContext app)
Retrieves the name of the web server which hosts this application.
| ||||||||||
static String[][] | getUserPrefApplyOptions(String serverName, String projectName, AbstractAppTransform transform) | ||||||||||
void |
scheduleIServerConnect(String pollingFrequency, Document serverList)
This method is deprecated.
replaced by
scheduleIServerConnect(String, AppContext)
| ||||||||||
void |
scheduleIServerConnect(String pollingFrequency, AppContext context)
This method will schedule a task which will automatically look for the Intelligent servers present on this web server,
and if they are in AUTO mode, it will connect to those Intelligent servers.
| ||||||||||
static void | setIServerConnectionFailureTolerance(String tolerance) | ||||||||||
static void |
setIServerProperties(String serverName)
Set the values for some Intelligent server properties like max pool size, keep alive connection and load balacne factor.
| ||||||||||
static void |
setIServerTimeouts(String requestTimeOut, String serverBusyTimeOut)
Set the Intelligent server timeouts on the webapi instance.
| ||||||||||
void | updateConnectedServersList(AdminServersList adminServersList) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Denotes the complete minimal iServer's major version supported by this application:
Denotes the complete minimal iServer's major version supported by this application:
Denotes the complete minimal iServer's version supported by this application:
Property to control whether bypass the uid/pwd in URL or not
Determines whether aunto expand hierarchy in prompt should use orion behavior or should compatible with 8.0 behavior
whether to Profile Analysis and Documents in Flash Mode. Used for debugging.
Property to control whether need create new http session or not when login
Determines the custom error message which needs to be displayed on error
Determines the error message which needs to be displayed on error. Currently, the code corresponds to descriptor "A server error was encountered. Please contact your system administrator."
Property to disable ondemand drilling.
Property to indicate whether the help system entry point should be local or a URL
Property to indicate the url of the help system when help location is not local
Determines whether to show time stamp in the I server error message
Used to allow users to authorize a request when the random token check fails
Determines if the preference is set to override the message generated by Iserver
This constant is deprecated.
In MicroStrategy Web 11.0
The support for this preference no longer exists
Property to enable check boxes on filter on selections
Property to control whether use optimized-interactive-view-mode or not
This constant is deprecated.
cookieless mode is not secure and should not be used.
This constant is deprecated.
this choice is deprecated. Always use permanent cookies for permanent settings in cookie mode.
Checks if the version of an iServer can be used with the current version of Web. In case it won't, it throws an WebAppException. This versin requires an iServer version 8 or higher.
name | server's name |
---|
WebAppException | |
WebAppException |
Checks if the version of an iServer can be used with the current version of Web. In case it won't, it throws an WebAppException. This version requires an iServer version 8 or higher.
name | server's name |
---|---|
port | server's port |
WebAppException | |
WebObjectsException | |
WebAppException | |
WebObjectsException |
This method will go through all the Intelligent Servers present on the web server and will automatically connect to all those servers which are set to be in AUTO connect mode.
context | The list of all the Intelligent Servers present on the web server are obtained via the AppContext . |
---|
This method will go through all the Intelligent Servers present on the web server and will automatically connect to all those servers which are set to be in AUTO connect mode.
adminServersList | The list of all the Intelligent Servers present on the web server. |
---|
Convenience method that returns the options use by the preferences transforms to indicate whether the changes will apply to the current project, or to all the projects in the current Intelligent Server.
serverName | The name of the Intelligent Server |
---|---|
projectName | The name of the MicroStrategy project |
transform | A Transform reference to gain access to localized strings |
Retrieves the name of the web server which hosts this application. The name is retrived from the servlet request object.
app | The application context for this application. |
---|
This method is deprecated.
replaced by scheduleIServerConnect(String, AppContext)
This method will schedule a task which will automatically look for the Intelligent servers present on this web server, and if they are in AUTO mode, it will connect to those Intelligent servers. This task will keep recurring after a fixed interval of time.
pollingFrequency | The frequency at which the task will look for all the AUTO mode Intelligent servers. This value is specified in milli seconds. |
---|---|
serverList | The list of all the Intelligent servers present on this web server is obtained from the AppContext . |
This method will schedule a task which will automatically look for the Intelligent servers present on this web server, and if they are in AUTO mode, it will connect to those Intelligent servers. This task will keep recurring after a fixed interval of time.
pollingFrequency | The frequency at which the task will look for all the AUTO mode Intelligent servers. This value is specified in milli seconds. |
---|---|
context | The list of all the Intelligent servers present on this web server is obtained from the AppContext . |
Set the values for some Intelligent server properties like max pool size, keep alive connection and load balacne factor. These values are set on the Intelligent server connection and are read from the preferences for that Intelligent server.
serverName | The Intelligent server on which we are supposed to set the properties. |
---|
Set the Intelligent server timeouts on the webapi instance. This includes the request time out and the server busy time out.
requestTimeOut | The request time out |
---|---|
serverBusyTimeOut | The server busy time out. |