Package com.appliedolap.essbase.impl
Class EssServerAiImpl
java.lang.Object
com.appliedolap.essbase.impl.EssServerAiImpl
- All Implemented Interfaces:
EssServerAi
The server-level half of the AI diagnosis, made of exactly the rungs that do not need a cube.
Every piece of this already existed inside EssCubeAiImpl as a separate static step -
the chain is walked rung by rung precisely so a break can be attributed to one - so this adds no
new reading of the server, only a shorter walk that stops where the cube-specific part begins.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhich AI capabilities this server has switched on, in one request.Works out how far this server's AI setup goes, without reference to any application or cube.getReadiness(EssAiFeature feature) The same diagnosis, narrowed to one capability, so that a server with AI on but the MDX generator off reportsEssAiReadiness.State.FEATURE_DISABLEDrather than readiness.
-
Constructor Details
-
EssServerAiImpl
-
-
Method Details
-
getReadiness
Description copied from interface:EssServerAiWorks out how far this server's AI setup goes, without reference to any application or cube. Never throws - an unreachable server comes back asEssAiReadiness.State.UNDETERMINED.- Specified by:
getReadinessin interfaceEssServerAi- Returns:
- the diagnosis, never null
-
getReadiness
Description copied from interface:EssServerAiThe same diagnosis, narrowed to one capability, so that a server with AI on but the MDX generator off reportsEssAiReadiness.State.FEATURE_DISABLEDrather than readiness.- Specified by:
getReadinessin interfaceEssServerAi- Parameters:
feature- the capability to ask about, or null for AI in general- Returns:
- the diagnosis, never null
-
getEnabledFeatures
Description copied from interface:EssServerAiWhich AI capabilities this server has switched on, in one request.Says nothing about whether anything is configured behind them - a capability can be on with no GenAI connection on the server at all, which is the usual state of a fresh 26.1 install. This is the inventory;
EssServerAi.getReadiness(EssAiFeature)is the diagnosis.- Specified by:
getEnabledFeaturesin interfaceEssServerAi- Returns:
- the enabled capabilities, empty on a server too old to have any
-