public interface IEssCluster extends IEssExtendedObject, IEssProperties
Modifier and Type | Interface and Description |
---|---|
static class |
IEssCluster.EEssClusterType
The EEssClusterType class is an enumeration of server types.
|
static class |
IEssCluster.EEssLoadBalanceAlgorithm
The EEssLoadBalanceAlgorithm class is an enumeration of load balance
algorithms supported.
|
IEssProperties.EEssPropertyMode
Modifier and Type | Field and Description |
---|---|
static int |
PROP_DESCRIPTION |
static int |
PROP_NAME |
static int |
PROP_SERVICE_COMPONENT_NAMES |
static int |
s_countProperties |
static IEssValueAny.EEssDataType[] |
s_propDataTypes |
static IEssProperties.EEssPropertyMode[] |
s_propModes |
static java.lang.String[] |
s_propNames |
static int |
STATUS_BAD |
static int |
STATUS_DISABLED |
static int |
STATUS_GOOD |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes this cluster.
|
void |
disableComponent(java.lang.String componentName)
Disable one component within this cluster.
|
void |
enableComponent(java.lang.String componentName)
Enable a disabled component within this cluster.
|
java.lang.String[][] |
getClusterStatus()
Fetches the cluster components status.
|
java.lang.String |
getDescription()
Gets the cluster description.
|
java.lang.String |
getName()
Gets the cluster name.
|
java.lang.String |
getResolvedComponents()
Gets the service component names in host and port format.
|
java.lang.String |
getServiceComponentNames()
Gets the service component names.
|
IEssCluster.EEssClusterType |
getType()
Gets the cluster type.
|
void |
refreshPropertyValues()
Refreshes the property values.
|
void |
setDescription(java.lang.String desc)
Sets the cluster description.
|
void |
setServiceComponentNames(java.lang.String compNames)
Sets the service component names.
|
void |
setType(IEssCluster.EEssClusterType type)
Sets the cluster type.
|
void |
updatePropertyValues()
Updates the property values.
|
clearClientCache, getParent, getParentBase, isClientCachingEnabled, setClientCachingEnabled
getCountProperties, getPropertyDataType, getPropertyDataType, getPropertyDataTypes, getPropertyId, getPropertyMode, getPropertyMode, getPropertyModes, getPropertyName, getPropertyNames, getPropertyValueAny, getPropertyValueAny, setPropertyValueAny, setPropertyValueAny
static final int PROP_NAME
static final int PROP_DESCRIPTION
static final int PROP_SERVICE_COMPONENT_NAMES
static final int s_countProperties
static final java.lang.String[] s_propNames
static final IEssValueAny.EEssDataType[] s_propDataTypes
static final IEssProperties.EEssPropertyMode[] s_propModes
static final int STATUS_BAD
static final int STATUS_GOOD
static final int STATUS_DISABLED
java.lang.String getName() throws com.essbase.api.base.EssException
getName
in interface IEssExtendedObject
com.essbase.api.base.EssException
- if an error occurs.java.lang.String getDescription() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setDescription(java.lang.String desc) throws com.essbase.api.base.EssException
desc
- The cluster description.com.essbase.api.base.EssException
- if an error occurs.IEssCluster.EEssClusterType getType() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setType(IEssCluster.EEssClusterType type) throws com.essbase.api.base.EssException
type
- - The cluster type.com.essbase.api.base.EssException
- if an error occurs.java.lang.String getServiceComponentNames() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an exception occurs.java.lang.String getResolvedComponents() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an exception occurs.void setServiceComponentNames(java.lang.String compNames) throws com.essbase.api.base.EssException
compNames
- The service component names separated by semicolon.
Eg: "localhost/Demo/Basic; localhost/Demo2/Basic".com.essbase.api.base.EssException
- if an exception occurs.void refreshPropertyValues() throws com.essbase.api.base.EssException
refreshPropertyValues
in interface IEssProperties
com.essbase.api.base.EssException
- if an error occurs.void updatePropertyValues() throws com.essbase.api.base.EssException
updatePropertyValues
in interface IEssProperties
com.essbase.api.base.EssException
- if an error occurs.void delete() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void disableComponent(java.lang.String componentName) throws com.essbase.api.base.EssException
componentName
- Stringcom.essbase.api.base.EssException
- if an error occurs.void enableComponent(java.lang.String componentName) throws com.essbase.api.base.EssException
componentName
- Stringcom.essbase.api.base.EssException
- if an error occurs.java.lang.String[][] getClusterStatus() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- - if an error occurs.