Oracle

weblogic.management.runtime
Interface ClusterRuntimeMBean


public interface ClusterRuntimeMBean

This class is used for monitoring a server's view of the members of a WebLogic cluster within a WebLogic domain.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://edocs.bea.com.


Method Summary
 String[] getActiveSingletonServices()
          Returns an array of the names of the Singleton Services that are active on this server.
 int getAliveServerCount()
          Provides the current total number of alive servers in this cluster.
 MachineMBean getCurrentMachine()
          Provides the current MachineMBean of the server.
 String getCurrentSecondaryServer()
          Deprecated. 10.3.0.0. deprecated in favor of getSecondaryServerDetails
 long getForeignFragmentsDroppedCount()
          Provides the number of fragments that originated in foreign domains or clusters which use the same multicast address.
 long getFragmentsReceivedCount()
          Provides the total number of messages received on this server from the cluster.
 long getFragmentsSentCount()
          Returns the total number of message fragments sent from this server into the cluster.
 HealthState getHealthState()
           
 JobSchedulerRuntimeMBean getJobSchedulerRuntime()
          Provides information about past jobs executed on this server.
 long getMulticastMessagesLostCount()
          Provides the total number of in-coming multicast messages that were lost according to this server.
 long getResendRequestsCount()
          Provides the number of state-delta messages that had to be resent because a receiving server in the cluster missed a message.
 String[] getSecondaryDistributionNames()
          Deprecated. 10.3.0.0 deprecated in favor of getDetailedSecondariesDistribution
 ServerMigrationRuntimeMBean getServerMigrationRuntime()
          Provides information about server migrations performed by this server.
 String[] getServerNames()
          Provides the names of the servers in the cluster.
 UnicastMessagingRuntimeMBean getUnicastMessaging()
          Provides information about unicast messaging mode if enabled
 

Method Detail

getAliveServerCount

int getAliveServerCount()

Provides the current total number of alive servers in this cluster.

Returns the current total number of alive servers in this cluster.

Returns:
The aliveServerCount value

getResendRequestsCount

long getResendRequestsCount()

Provides the number of state-delta messages that had to be resent because a receiving server in the cluster missed a message.

Returns the number of state-delta messages that had to be resent because a receiving server in the cluster missed a message.

Returns:
The resendRequestsCount value

getFragmentsSentCount

long getFragmentsSentCount()

Returns the total number of message fragments sent from this server into the cluster. This is applicable to both multicast and unicast message types.

Returns:
The fragmentsSentCount value

getFragmentsReceivedCount

long getFragmentsReceivedCount()

Provides the total number of messages received on this server from the cluster. This is applicable to both multcicast and unicast message types.

Returns:
The fragmentsReceivedCount value

getSecondaryDistributionNames

String[] getSecondaryDistributionNames()
Deprecated. 10.3.0.0 deprecated in favor of getDetailedSecondariesDistribution

Provides the names of the remote servers (such as myserver) for which the local server is hosting secondary objects. The name is appended with a number to indicate the number of secondaries hosted on behalf of that server.

Returns:
The secondaryDistributionNames value
See Also:
getDetailedSecondariesDistribution

getMulticastMessagesLostCount

long getMulticastMessagesLostCount()

Provides the total number of in-coming multicast messages that were lost according to this server.

Returns:
The multicastMessagesLostCount value

getServerNames

String[] getServerNames()

Provides the names of the servers in the cluster.

Returns:
The serverNames value

getForeignFragmentsDroppedCount

long getForeignFragmentsDroppedCount()

Provides the number of fragments that originated in foreign domains or clusters which use the same multicast address.

Answer the number of fragments that originated in foreign domains/cluster that use the same multicast address.

Returns:
The foreignFragmentsDroppedCount value

getCurrentSecondaryServer

String getCurrentSecondaryServer()
Deprecated. 10.3.0.0. deprecated in favor of getSecondaryServerDetails

Returns:
Current secondary server name
See Also:
getSecondaryServerDetails

getHealthState

HealthState getHealthState()

getCurrentMachine

MachineMBean getCurrentMachine()

Provides the current MachineMBean of the server. In most cases this is the MachineMBean that the server is configured to run on. The only time when this will not be true is if auto-migration is enabled. This method will report the current host machine for the server, in that case.

Returns:
MachineMBean of the machine currently hosting this server

getServerMigrationRuntime

ServerMigrationRuntimeMBean getServerMigrationRuntime()
Provides information about server migrations performed by this server. If the current server is not responsible for migrations, it points to the server that is responsible for it.


getJobSchedulerRuntime

JobSchedulerRuntimeMBean getJobSchedulerRuntime()
Provides information about past jobs executed on this server. Jobs must have been submitted to the JobScheduler functionality and should have executed atleast once on this server.


getUnicastMessaging

UnicastMessagingRuntimeMBean getUnicastMessaging()
Provides information about unicast messaging mode if enabled


getActiveSingletonServices

String[] getActiveSingletonServices()
Returns an array of the names of the Singleton Services that are active on this server.


Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle