BEA Systems, Inc.

BEA WebLogic SIP Server 3.0 API Reference


com.bea.wcp.sip.management.runtime
Interface ReplicaRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface ReplicaRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

RuntimeMBean for a replica

Copyright © 2006 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void dumpState()
          Dumps the full state of the replica to the log
 ReplicaInfo[] getBackupStoreInboundStatistics()
           
 PersistenceStoreStatistics getBackupStoreOutboundStatistics()
           
 long getBytesReceived()
          The number of bytes received by the replica (e.g., for putAndUnlock() data)
 long getBytesSent()
          The number of bytes sent by the replica (e.g., for lockAndGet() and lockAndGetTimers() data)
 int getCurrentViewId()
          Returns the current view ID of the partition from this replica's perspective
 PersistenceStoreStatistics getDatabaseStoreStatistics()
           
 int getDataItemCount()
          The number of keys for which we have data.
 int getDataItemsToRecover()
          The number of data items that have yet to be recovered.
 int getHighKeyCount()
          The high water mark for number of keys
 long getHighTotalBytes()
          High water mark for the total number of bytes consumed by data items
 int getKeyCount()
          The number of keys stored on the replica.
 int getPartitionId()
          Returns the partition ID in which this replica is serving.
 java.lang.String getPartitionName()
          Returns the name of the partition in which this replica is serving.
 int getReplicaId()
          Returns this replica's ID (in the range of 0..7)
 java.lang.String getReplicaName()
          Returns the name of the replica
 java.lang.String[] getReplicaServersInCurrentView()
          Returns the WebLogic server names that are in the current view.
 int[] getReplicasInCurrentView()
          Returns the replica ID array of the replica in the partition from this replica's perspective.
 java.lang.String getState()
          Returns the state of the replica.
 int getTimerQueueSize()
          The number of timers in the timer queue.
 long getTotalBytes()
          Returns the total number of bytes consumed by the data items
 
Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, preDeregister, removePropertyChangeListener
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

dumpState

public void dumpState()
Dumps the full state of the replica to the log


getBackupStoreInboundStatistics

public ReplicaInfo[] getBackupStoreInboundStatistics()

getBackupStoreOutboundStatistics

public PersistenceStoreStatistics getBackupStoreOutboundStatistics()

getBytesReceived

public long getBytesReceived()
The number of bytes received by the replica (e.g., for putAndUnlock() data)


getBytesSent

public long getBytesSent()
The number of bytes sent by the replica (e.g., for lockAndGet() and lockAndGetTimers() data)


getCurrentViewId

public int getCurrentViewId()
Returns the current view ID of the partition from this replica's perspective


getDatabaseStoreStatistics

public PersistenceStoreStatistics getDatabaseStoreStatistics()

getDataItemCount

public int getDataItemCount()
The number of keys for which we have data. Will be equal to getKeyCount() if the replica is fully online. Otherwise, 0 <= getDataItemCount() < getKeyCount()


getDataItemsToRecover

public int getDataItemsToRecover()
The number of data items that have yet to be recovered. Will be 0 if the replica is fully online.


getHighKeyCount

public int getHighKeyCount()
The high water mark for number of keys


getHighTotalBytes

public long getHighTotalBytes()
High water mark for the total number of bytes consumed by data items


getKeyCount

public int getKeyCount()
The number of keys stored on the replica.


getPartitionId

public int getPartitionId()
Returns the partition ID in which this replica is serving.


getPartitionName

public java.lang.String getPartitionName()
Returns the name of the partition in which this replica is serving.


getReplicaId

public int getReplicaId()
Returns this replica's ID (in the range of 0..7)


getReplicaName

public java.lang.String getReplicaName()
Returns the name of the replica


getReplicaServersInCurrentView

public java.lang.String[] getReplicaServersInCurrentView()
Returns the WebLogic server names that are in the current view. The server at index 0 is the "first" replica.


getReplicasInCurrentView

public int[] getReplicasInCurrentView()
Returns the replica ID array of the replica in the partition from this replica's perspective. The replica Id in array index 0 is the "first" replica.


getState

public java.lang.String getState()
Returns the state of the replica. One of {"ONLINE", "OFFLINE", "ONLINE_LOCK_AUTHORITY_ONLY"}


getTimerQueueSize

public int getTimerQueueSize()
The number of timers in the timer queue.


getTotalBytes

public long getTotalBytes()
Returns the total number of bytes consumed by the data items


Documentation is available at
http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss30/
Copyright 2006 BEA Systems Inc.