Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface OverloadProtectionMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface OverloadProtectionMBean
extends ConfigurationMBean

This Mbean has attributes concerning server overload protection.


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
abstract  ServerFailureTriggerMBean createServerFailureTrigger()
          Configure a trigger that marks the server as failed when the condition is met.
abstract  void destroyServerFailureTrigger()
           
abstract  String getFailureAction()
          Enable automatic forceshutdown of the server on failed state.
abstract  int getFreeMemoryPercentHighThreshold()
          Percentage free memory after which the server overload condition is cleared.
abstract  int getFreeMemoryPercentLowThreshold()
          Percentage free memory below which the server is considered overloaded.
abstract  String getPanicAction()
          Exit the server process when the kernel encounters a panic condition like an unhandled OOME.
abstract  ServerFailureTriggerMBean getServerFailureTrigger()
          Configure a trigger that marks the server as failed when the condition is met.
abstract  int getSharedCapacityForWorkManagers()
          Total number of requests that can be present in the server.
abstract  void setFailureAction(String action)
          Enable automatic forceshutdown of the server on failed state.
abstract  void setFreeMemoryPercentHighThreshold(int percent)
          Percentage free memory after which the server overload condition is cleared.
abstract  void setFreeMemoryPercentLowThreshold(int percent)
          Percentage free memory below which the server is considered overloaded.
abstract  void setPanicAction(String action)
          Exit the server process when the kernel encounters a panic condition like an unhandled OOME.
abstract  void setSharedCapacityForWorkManagers(int capacity)
          Total number of requests that can be present in the server.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, 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
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Field Detail

NO_ACTION

static final String NO_ACTION
See Also:
Constant Field Values

SYSTEM_EXIT

static final String SYSTEM_EXIT
Exit the server process when the kernel encounters a panic condition like an unhandled OOME. An unhandled OOME could lead to inconsistent state and a server restart is advisable if backed by node manager or a HA agent.
See Also:
Constant Field Values

FORCE_SHUTDOWN

static final String FORCE_SHUTDOWN
Enable automatic forceshutdown of the server on failed state. The server self-health monitoring detects fatal failures and mark the server as failed. The server can be restarted using NodeManager or a HA agent.
See Also:
Constant Field Values

ADMIN_STATE

static final String ADMIN_STATE
Enable automatic suspend of the server on failed state. The server goes into admin state after the suspend operation. The server self-health monitoring detects fatal failures and marks the server as failed. The suspend operation is applied only when the server as an admin channel and is in the running state before the failure. Otherwise it will remain in the failed state till an administrator issues a shutdown command.
See Also:
Constant Field Values

Method Detail

setSharedCapacityForWorkManagers

void setSharedCapacityForWorkManagers(int capacity)
Total number of requests that can be present in the server. This includes requests that are enqueued and those under execution.

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.


getSharedCapacityForWorkManagers

int getSharedCapacityForWorkManagers()
Total number of requests that can be present in the server. This includes requests that are enqueued and those under execution.

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.


setPanicAction

void setPanicAction(String action)
Exit the server process when the kernel encounters a panic condition like an unhandled OOME. An unhandled OOME could lead to inconsistent state and a server restart is advisable if backed by node manager or a HA agent.

getPanicAction

String getPanicAction()
Exit the server process when the kernel encounters a panic condition like an unhandled OOME. An unhandled OOME could lead to inconsistent state and a server restart is advisable if backed by node manager or a HA agent.

setFailureAction

void setFailureAction(String action)
Enable automatic forceshutdown of the server on failed state. The server self-health monitoring detects fatal failures and mark the server as failed. The server can be restarted using NodeManager or a HA agent.

getFailureAction

String getFailureAction()
Enable automatic forceshutdown of the server on failed state. The server self-health monitoring detects fatal failures and mark the server as failed. The server can be restarted using NodeManager or a HA agent.

setFreeMemoryPercentHighThreshold

void setFreeMemoryPercentHighThreshold(int percent)
Percentage free memory after which the server overload condition is cleared. WorkManagers stop performing overloadActions and start regular execution once the overload condition is cleared.

getFreeMemoryPercentHighThreshold

int getFreeMemoryPercentHighThreshold()
Percentage free memory after which the server overload condition is cleared. WorkManagers stop performing overloadActions and start regular execution once the overload condition is cleared.

setFreeMemoryPercentLowThreshold

void setFreeMemoryPercentLowThreshold(int percent)
Percentage free memory below which the server is considered overloaded. WorkManagers perform overloadAction once the server is marked as overloaded.

getFreeMemoryPercentLowThreshold

int getFreeMemoryPercentLowThreshold()
Percentage free memory below which the server is considered overloaded. WorkManagers perform overloadAction once the server is marked as overloaded.

getServerFailureTrigger

ServerFailureTriggerMBean getServerFailureTrigger()
Configure a trigger that marks the server as failed when the condition is met. A failed server in turn can be configured to shutdown or go into admin state.
Since:
9.0.0.0

createServerFailureTrigger

ServerFailureTriggerMBean createServerFailureTrigger()
Configure a trigger that marks the server as failed when the condition is met. A failed server in turn can be configured to shutdown or go into admin state.
Since:
9.0.0.0

destroyServerFailureTrigger

void destroyServerFailureTrigger()
Since:
9.0.0.0

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09