|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.cluster.utils.ClusterUtils
Utility class to keep track of clustered actions. Uniquely associating the action with a cluster member.
It expects messages in the format [message : weblogic.system.name]. For example: addClusterMessage("Hello : cluster1");
It keeps track of the unique system names and tabulates the results.
Inner Class Summary | |
(package private) class |
ClusterUtils.Cluster
Inner class to keep track of unique cluster members. |
Constructor Summary | |
ClusterUtils()
Constructor |
Method Summary | |
void |
addClusterMessage(java.lang.String message)
Default expectation for format [message : weblogic.system.name]. |
int |
getExceptionCount()
|
int |
getIterations()
|
void |
incrementExceptionCount()
|
java.lang.String |
processStatistics()
Prepares report of results from statistics. |
void |
setToken(java.lang.String token)
Allows someone to overide the default token used ":". |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ClusterUtils()
Method Detail |
public void addClusterMessage(java.lang.String message)
message
- string messagepublic int getExceptionCount()
public int getIterations()
public void incrementExceptionCount()
public java.lang.String processStatistics()
public void setToken(java.lang.String token)
token
- String New token for dividing message
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |