Skip navigation links


com.essbase.api.domain
Class IEssCluster.EEssLoadBalanceAlgorithm

java.lang.Object
  extended by com.essbase.api.domain.IEssCluster.EEssLoadBalanceAlgorithm

All Implemented Interfaces:
IEssBaseObject, IEssEnum
Enclosing interface:
IEssCluster

public static final class IEssCluster.EEssLoadBalanceAlgorithm
extends java.lang.Object
implements IEssEnum

The EEssLoadBalanceAlgorithm class is an enumeration of load balance algorithms supported.

Version:
1.0, 04/24/2001
Author:
Srini Ranga

Field Summary
static IEssCluster.EEssLoadBalanceAlgorithm ROUND_ROBIN
          Load balance algorithm: round-robin.
static int ROUND_ROBIN_INT_VALUE
          Load balance algorithm (int value): round-robin.

 

Constructor Summary
IEssCluster.EEssLoadBalanceAlgorithm()
           

 

Method Summary
 IEssEnum fromInt(int intValue)
          Gets the IEssEnum from the int value.
 IEssEnum fromString(java.lang.String strValue)
          Gets the IEssEnum from the String display value.
 int getCountPossibleValues()
          Gets the count of possible values of the enumeration.
 java.lang.String[] getPossibleValues()
          Gets the list of possible values of the enumeration.
 int intValue()
          Gets the int value of the IEssEnum.
static IEssCluster.EEssLoadBalanceAlgorithm sm_fromInt(int intValue)
          Gets an enumeration object from its int value.
static IEssCluster.EEssLoadBalanceAlgorithm sm_fromString(java.lang.String strValue)
          Gets an enumeration object from its string display value.
static IEssCluster.EEssLoadBalanceAlgorithm[] sm_values()
          Gets all the enumeration objects.
 java.lang.String stringValue()
          Gets the String display value of the IEssEnum.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

ROUND_ROBIN

public static final IEssCluster.EEssLoadBalanceAlgorithm ROUND_ROBIN
Load balance algorithm: round-robin.

ROUND_ROBIN_INT_VALUE

public static final int ROUND_ROBIN_INT_VALUE
Load balance algorithm (int value): round-robin.
See Also:
Constant Field Values

Constructor Detail

IEssCluster.EEssLoadBalanceAlgorithm

public IEssCluster.EEssLoadBalanceAlgorithm()

Method Detail

sm_fromString

public static IEssCluster.EEssLoadBalanceAlgorithm sm_fromString(java.lang.String strValue)
                                                          throws com.essbase.api.base.EssException
Gets an enumeration object from its string display value.
Parameters:
strValue - The string display value.
Returns:
The enumeration object.
Throws:
com.essbase.api.base.EssException - if an error occurs.

sm_fromInt

public static IEssCluster.EEssLoadBalanceAlgorithm sm_fromInt(int intValue)
                                                       throws com.essbase.api.base.EssException
Gets an enumeration object from its int value.
Parameters:
intValue - The int value.
Returns:
The enumeration object.
Throws:
com.essbase.api.base.EssException - if an error occurs.

sm_values

public static IEssCluster.EEssLoadBalanceAlgorithm[] sm_values()
                                                        throws com.essbase.api.base.EssException
Gets all the enumeration objects.
Returns:
The enumeration objects.
Throws:
com.essbase.api.base.EssException - if an error occurs.

stringValue

public java.lang.String stringValue()
                             throws com.essbase.api.base.EssException
Description copied from interface: IEssEnum
Gets the String display value of the IEssEnum.
Specified by:
stringValue in interface IEssEnum
Returns:
The String display value of the IEssEnum.
Throws:
EssException - if an error occurs.

intValue

public int intValue()
             throws com.essbase.api.base.EssException
Description copied from interface: IEssEnum
Gets the int value of the IEssEnum.
Specified by:
intValue in interface IEssEnum
Returns:
The int value of the IEssEnum.
Throws:
EssException - if an error occurs.

fromInt

public IEssEnum fromInt(int intValue)
                 throws com.essbase.api.base.EssException
Description copied from interface: IEssEnum
Gets the IEssEnum from the int value.
Specified by:
fromInt in interface IEssEnum
Parameters:
intValue - The int value.
Returns:
The IEssEnum interface.
Throws:
EssException - if an error occurs.

fromString

public IEssEnum fromString(java.lang.String strValue)
                    throws com.essbase.api.base.EssException
Description copied from interface: IEssEnum
Gets the IEssEnum from the String display value.
Specified by:
fromString in interface IEssEnum
Parameters:
strValue - The String display value.
Returns:
The IEssEnum interface.
Throws:
EssException - if an error occurs.

getCountPossibleValues

public int getCountPossibleValues()
                           throws com.essbase.api.base.EssException
Description copied from interface: IEssEnum
Gets the count of possible values of the enumeration.
Specified by:
getCountPossibleValues in interface IEssEnum
Returns:
The count of possible values in the enumeration.
Throws:
EssException - if an error occurs.

getPossibleValues

public java.lang.String[] getPossibleValues()
                                     throws com.essbase.api.base.EssException
Description copied from interface: IEssEnum
Gets the list of possible values of the enumeration.
Specified by:
getPossibleValues in interface IEssEnum
Returns:
The list of possible values in the enumeration.
Throws:
EssException - if an error occurs.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links