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.runtime
Interface TriggerRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface TriggerRuntimeMBean
extends RuntimeMBean

The TriggerRuntimeMBean holds runtime state (for the current Server instance) for a Trigger that has been configured in the Resource Consumption Management policy of the current Domain Partition.

The WebLogic Resource Consumption Management feature automatically initiates the configured recourse action of a Trigger when the Trigger's configured usage limits are exceeded by a Domain Partition. When a usage limit is exceeded, and the configured recourse action has been successfully executed, the Trigger is Activated.

When the current resource usage by the Domain Partition falls below the Trigger's configured usage limit, the feature automatically withdraws the recourse action where possible. When the current usage is below the configured usage limit, and the configured recourse action has been successfully withdrawn, the Trigger is said to be not Activated.

The MBean captures the following states for a Trigger when the current resource consumption usage by the Domain Partition exceeds or goes below the configured usage limit for the Domain Partition:

Since:
12.2.1.0

Method Summary
abstract  Date getLastTimeExecuted()
          The Date when the last recourse action was successfully executed for the current Trigger.
abstract  String getName()
          The name of the Trigger, as configured in the Resource Consumption Management policy of the Domain Partition.
abstract  RecourseActionEventVBean[] getRecourseActionEventsHistory()
          A list of recourse action events that have been initiated and executed.
abstract  boolean isActivated()
          Indicates if the Trigger is Activated.
abstract  boolean isInitiated()
          Indicates if a recourse action has been initiated for this Trigger as a result of the current resource usage by a Domain Partition exceeding its usage limit.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, 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, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

isInitiated

boolean isInitiated()
Indicates if a recourse action has been initiated for this Trigger as a result of the current resource usage by a Domain Partition exceeding its usage limit. A new RecourseActionEventVBean is added to the array returned by TriggerRuntimeMBean.getRecourseActionEventsHistory().

The kind of recourse action initiated (for example, a new recourse action or a withdrawal of an existing recourse action) can be determined through RecourseActionEventVBean.isActive().

Returns:
True, if an action has been begun in response to the current resource usage of the Domain Partition exceeding the usage limit set for that Partition. False, if no action has been initiated.

getName

String getName()
The name of the Trigger, as configured in the Resource Consumption Management policy of the Domain Partition.
Specified by:
getName in interface WebLogicMBean

isActivated

boolean isActivated()
Indicates if the Trigger is Activated.
Returns:
True, if the resource usage limit is exceeded by the Domain Partition and the configured recourse action has been successfully executed.

getLastTimeExecuted

Date getLastTimeExecuted()
The Date when the last recourse action was successfully executed for the current Trigger.
Returns:
The Date when the last recourse action was successfully executed for the current Trigger.

getRecourseActionEventsHistory

RecourseActionEventVBean[] getRecourseActionEventsHistory()
A list of recourse action events that have been initiated and executed.

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