BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)


weblogic.management.runtime
Interface RequestClassRuntimeMBean

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

public interface RequestClassRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

RequestClassRuntimeMBean presents runtime information about RequestClasses. A request class represents a class of work. Work using the same request class shares the same priority.

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://www.oracle.com/technology/documentation/index.html.

Since:
9.0.0.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
static String CONTEXT
          Represents ContextRequestClasses.
static String FAIR_SHARE
          Represents FairShareRequestClasses.
static String RESPONSE_TIME
          Represents ResponseTimeRequestClasses.
 
Method Summary
 long getCompletedCount()
          Total number of completions since server start
 int getPendingRequestCount()
          Number of requests waiting for a thread to become available.
 String getRequestClassType()
          Returns the type of RequestClass.
 long getTotalThreadUse()
          Total amount of thread use time in millisec's used by the request class since server start.
 long getVirtualTimeIncrement()
          Current priority of the request class.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CONTEXT

public static final String CONTEXT
Represents ContextRequestClasses. Returned by getRequestClassType(). NOTE: that this type of RequestClassRuntimeMBean does not have actual data. The runtime information resides in the individual RequestClassRuntime's that make up the ContextRequestClass.

See Also:
Constant Field Values

FAIR_SHARE

public static final String FAIR_SHARE
Represents FairShareRequestClasses. Returned by getRequestClassType()

See Also:
Constant Field Values

RESPONSE_TIME

public static final String RESPONSE_TIME
Represents ResponseTimeRequestClasses. Returned by getRequestClassType()

See Also:
Constant Field Values
Method Detail

getCompletedCount

public long getCompletedCount()
Total number of completions since server start


getPendingRequestCount

public int getPendingRequestCount()
Number of requests waiting for a thread to become available.


getRequestClassType

public String getRequestClassType()
Returns the type of RequestClass. Either FAIR_SHARE or RESPONSE_TIME or CONTEXT


getTotalThreadUse

public long getTotalThreadUse()
Total amount of thread use time in millisec's used by the request class since server start.


getVirtualTimeIncrement

public long getVirtualTimeIncrement()
Current priority of the request class. The priority is relative to other request class priorities. The priority is calculated dynamically frequently and can change.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.