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 RecourseActionEventVBean


public interface RecourseActionEventVBean

The RecourseActionEventVBean holds runtime state about an individual recourse action to be executed or withdrawn by the WebLogic Resource Consumption Management feature for a configured Trigger on the current server instance in the current Domain Partition.

The WebLogic Resource Consumption Management feature automatically initiates a configured recourse action of a Trigger when the configured usage limits of the Trigger are exceeded by a Domain Partition.

When the current resource usage by the Domain Partition falls below the configured usage limit, the feature automatically withdraws the recourse action (where possible). This Bean captures the following runtime state of such an individual recourse action:


Method Summary
abstract  String getAction()
          The recourse action type configured in the Domain Partition's Resource Consumption Management policy for the current Trigger.
abstract  Date getExecutionDate()
          The date and time the recourse action successfully executes.
abstract  long getUsage()
          The current resource usage by the Domain Partition when the recourse action was initiated.
abstract  boolean isActionSuccessful()
          Indicates if the recourse action execution was successfully completed.
abstract  boolean isActive()
          Indicates if the recourse action is a new execution of a recourse action because the usage limit is exceeded or the withdrawal of an existing recourse action because the current resource usage has gone below the usage limit.
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 exceeds its usage limit.

 

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 exceeds its usage limit.
Returns:
True, if the current recourse 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.

getUsage

long getUsage()
The current resource usage by the Domain Partition when the recourse action was initiated.
Returns:
the current resource usage by the Domain Partition.

getAction

String getAction()
The recourse action type configured in the Domain Partition's Resource Consumption Management policy for the current Trigger.
Returns:
the recourse action type configured in the Domain Partition's resource consumption management policy for the current Trigger. See the class documentation of RCMResourceMBean for a set of possible recourse actions types.

getExecutionDate

Date getExecutionDate()
The date and time the recourse action successfully executes.
Returns:
the date and time when the recourse action successfully executes.

isActive

boolean isActive()
Indicates if the recourse action is a new execution of a recourse action because the usage limit is exceeded or the withdrawal of an existing recourse action because the current resource usage has gone below the usage limit.
Returns:
true if this is an execution of a new recourse action. false if this is a withdrawal of an existing recourse action.

isActionSuccessful

boolean isActionSuccessful()
Indicates if the recourse action execution was successfully completed.
Returns:
true if the recourse action completed successfully.

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