| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |
Method Summary | |
---|---|
public
String | getApplication()
Gets the application for which this policy is applicable.
|
public
String | getWebModule()
Gets the web module for which this policy is applicable.
|
public
boolean | isApplicationScope()
Indicates whether policy scope is the application level. The application.
|
public
boolean | isWebModuleScope()
Indicates whether policy scope is the web module level. The web module.
|
public
boolean | isCellScope()
Indicates whether policy scope is the cell level. The cell.
|
public
boolean | policyIsFailOver()
Indicates policy type of fail over.
|
public
boolean | policyIsStaticLoadBalance()
Indicates policy type is for static load balance.
|
public
boolean | policyIsDynamicLoadBalance()
Indicates policy type is for dynamic load balance.
|
public
String | failOverPolicy()
An array of objects containing the fail over policy string. Each element of the.
|
public
String | loadBalancePolicy()
An array of objects containing the load balancing policy string. Each element of the.
|
public
TargetCluster | getClusters()
Gets array of clusters for this policy..
|
public
boolean | isApplicationMatch(java.lang.String)
Indicates whether the application names match.
|
public
boolean | isWebModuleMatch(java.lang.String)
Indicates whether the web module names match.
|
public
boolean | equals(java.lang.String, java.lang.String)
Returns true if object is equal by comparing the name and value objects and false otherwise.
|
public
String | toString()
String representation of the object.
|
Method Detail |
public String getApplication( | ) |
public String getWebModule( | ) |
public boolean isApplicationScope( | ) |
public boolean isWebModuleScope( | ) |
public boolean isCellScope( | ) |
public boolean policyIsFailOver( | ) |
public boolean policyIsStaticLoadBalance( | ) |
public boolean policyIsDynamicLoadBalance( | ) |
public String failOverPolicy( | ) |
cell:cluster
. The array must contain
at least 2 elements. For example, a fail over policy with one 2-tuple backing the
other would be: cell1:cluster1,cell1:GSC1
and so the first element
of the array would be cell1:cluster1 and the second,
cell1:GSC1.
public String loadBalancePolicy( | ) |
cell:cluster:weight
. The array must contain
more than one element. For example, to load balance across two cells the policy expression
would be: cell1:cluster1:weight1,cell1:GSC1:weight2
and so the first element
of the array would be cell1:cluster1:weight1 and the second,
cell1:GSC1:weight2. The cluster
is optional, and when it is not
specified, the second element is null. For example, cell1::weight1,cell1:GSC1:weight2.
says load balance application requests between all clusters in cell1 with the remote cell represented
by the generic server cluster GSC1.
public TargetCluster getClusters( | ) |
public boolean isApplicationMatch( | String appname )
|
public boolean isWebModuleMatch( | String webModule )
|
public boolean equals( | String name , | String value )
|
name
-
Policy name.
value
-
Policy expression following syntax above.
public String toString( | ) |
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |