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 TriggerMBean

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

public interface TriggerMBean
extends ConfigurationMBean

This mbean is used to configure a Trigger (Usage limit) based policy for a resource type.

Since:
12.2.1.0

Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getAction()
          Gets the configured recourse action that needs to be taken when the usage of resource crosses the value specified in TriggerMBean.getValue().
abstract  long getValue()
          Gets the upper-limit value of the resource assigned to the Trigger configuration.
abstract  void setAction(String action)
          Sets the configured recourse action that needs to be taken when the usage of resoure crosses the value specified in TriggerMBean.getValue().
abstract  void setValue(long value)
          Assigns the upper-limit value of the resource to the Trigger configuration.

 

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

 

Method Detail

getValue

long getValue()
Gets the upper-limit value of the resource assigned to the Trigger configuration.
Returns:
long The upper-limit value of resource usage configured in the Trigger.

setValue

void setValue(long value)
Assigns the upper-limit value of the resource to the Trigger configuration.
Parameters:
value - The new upper-limit value of resource usage to be configured in the Trigger.

getAction

String getAction()
Gets the configured recourse action that needs to be taken when the usage of resource crosses the value specified in TriggerMBean.getValue().
Returns:
The recourse action to be taken when the usage of resoure crosses the value specified in the TriggerMBean.getValue().

setAction

void setAction(String action)
Sets the configured recourse action that needs to be taken when the usage of resoure crosses the value specified in TriggerMBean.getValue().
Parameters:
action - Sets the configured recourse action that needs to be taken when the usage of resoure crosses the value specified in TriggerMBean.getValue(). See the class documentation of RCMResourceMBean for a set of allowed recourse actions types. Refer the Resource type MBean to obtain the subset of valid recourse action types for the Resource type.

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