|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)This Mbean has attributes concerning server overload protection.
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.
Field Summary | |
static String |
ADMIN_STATE
Enable automatic suspend of the server on failed state. |
static String |
FORCE_SHUTDOWN
Enable automatic forceshutdown of the server on failed state. |
static String |
NO_ACTION
|
static String |
SYSTEM_EXIT
Exit the server process when the kernel encounters a panic condition like an unhandled OOME. |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
ServerFailureTriggerMBean |
createServerFailureTrigger()
Configure a trigger that marks the server as failed when the condition is met. |
void |
destroyServerFailureTrigger()
|
String |
getFailureAction()
Enable automatic forceshutdown of the server on failed state. |
int |
getFreeMemoryPercentHighThreshold()
Percentage free memory after which the server overload condition is cleared. |
int |
getFreeMemoryPercentLowThreshold()
Percentage free memory below which the server is considered overloaded. |
String |
getPanicAction()
Exit the server process when the kernel encounters a panic condition like an unhandled OOME. |
ServerFailureTriggerMBean |
getServerFailureTrigger()
Configure a trigger that marks the server as failed when the condition is met. |
int |
getSharedCapacityForWorkManagers()
Total number of requests that can be present in the server. |
void |
setFailureAction(String action)
Enable automatic forceshutdown of the server on failed state. |
void |
setFreeMemoryPercentHighThreshold(int percent)
Percentage free memory after which the server overload condition is cleared. |
void |
setFreeMemoryPercentLowThreshold(int percent)
Percentage free memory below which the server is considered overloaded. |
void |
setPanicAction(String action)
Exit the server process when the kernel encounters a panic condition like an unhandled OOME. |
void |
setSharedCapacityForWorkManagers(int capacity)
Total number of requests that can be present in the server. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, 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 |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Field Detail |
public static final String ADMIN_STATE
public static final String FORCE_SHUTDOWN
public static final String NO_ACTION
public static final String SYSTEM_EXIT
Method Detail |
public ServerFailureTriggerMBean createServerFailureTrigger()
public void destroyServerFailureTrigger()
public String getFailureAction()
public int getFreeMemoryPercentHighThreshold()
public int getFreeMemoryPercentLowThreshold()
public String getPanicAction()
public ServerFailureTriggerMBean getServerFailureTrigger()
public int getSharedCapacityForWorkManagers()
The server performs a differentiated denial of service on reaching the shared capacity. A request with higher priority will be accepted in place of a lower priority request already in the queue. The lower priority request is kept waiting in the queue till all high priority requests are executed. Further enqueues of the low priority requests are rejected right away.
public void setFailureAction(String action)
public void setFreeMemoryPercentHighThreshold(int percent)
public void setFreeMemoryPercentLowThreshold(int percent)
public void setPanicAction(String action)
public void setSharedCapacityForWorkManagers(int capacity)
The server performs a differentiated denial of service on reaching the shared capacity. A request with higher priority will be accepted in place of a lower priority request already in the queue. The lower priority request is kept waiting in the queue till all high priority requests are executed. Further enqueues of the low priority requests are rejected right away.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |