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 SelfTuningMBean

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

public interface SelfTuningMBean
extends ConfigurationMBean

SelfTuning MBean contains the global work manager component MBeans.


Field Summary

 

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

 

Method Summary
abstract  CapacityMBean createCapacity(String name)
          Creates capacity constraints.
abstract  ContextRequestClassMBean createContextRequestClass(String name)
          Creates context request classes.
abstract  FairShareRequestClassMBean createFairShareRequestClass(String name)
          Creates fair share request classes.
abstract  MaxThreadsConstraintMBean createMaxThreadsConstraint(String name)
          Creates maximum threads constraints.
abstract  MinThreadsConstraintMBean createMinThreadsConstraint(String name)
          Creates minimum threads constraints.
abstract  ResponseTimeRequestClassMBean createResponseTimeRequestClass(String name)
          Creates the response time request classes.
abstract  WorkManagerMBean createWorkManager(String name)
          Creates new Work Managers.
abstract  void destroyCapacity(CapacityMBean bean)
          Destroys and removes a capacity constraint with the specified short name.
abstract  void destroyContextRequestClass(ContextRequestClassMBean bean)
          Destroys and removes a context request class with the specified short name.
abstract  void destroyFairShareRequestClass(FairShareRequestClassMBean bean)
          Destroys and removes a fair share request class with the specified short name.
abstract  void destroyMaxThreadsConstraint(MaxThreadsConstraintMBean bean)
          Destroys and removes a maximum threads constraint with the specified short name.
abstract  void destroyMinThreadsConstraint(MinThreadsConstraintMBean bean)
          Destroys and removes a minimum threads constraint with the specified short name.
abstract  void destroyResponseTimeRequestClass(ResponseTimeRequestClassMBean bean)
          Destroys and removes a response time request classes with the specified short name.
abstract  void destroyWorkManager(WorkManagerMBean c)
          Destroys Work Managers.
abstract  CapacityMBean[] getCapacities()
          All the capacity definitions.
abstract  ContextRequestClassMBean[] getContextRequestClasses()
          All the context request classes.
abstract  FairShareRequestClassMBean[] getFairShareRequestClasses()
          All the fair share request classes.
abstract  MaxThreadsConstraintMBean[] getMaxThreadsConstraints()
          All the maximum threads constraints.
abstract  MinThreadsConstraintMBean[] getMinThreadsConstraints()
          All the minimum threads constraints.
abstract  int getPartitionFairShare()
          A desired percentage of thread usage by a partition compared to the thread usage by all partitions.
abstract  ResponseTimeRequestClassMBean[] getResponseTimeRequestClasses()
          All the response time request classes.
abstract  WorkManagerMBean[] getWorkManagers()
          All the defined Work Managers.
abstract  CapacityMBean lookupCapacity(String name)
          Looks up a particular capacity constraint.
abstract  ContextRequestClassMBean lookupContextRequestClass(String name)
          Looks up a particular context request class.
abstract  FairShareRequestClassMBean lookupFairShareRequestClass(String name)
          Looks up a particular fair share request classes.
abstract  MaxThreadsConstraintMBean lookupMaxThreadsConstraint(String name)
          Looks up a particular maximum threads constraint.
abstract  MinThreadsConstraintMBean lookupMinThreadsConstraint(String name)
          Looks up a particular minimum threads constraint.
abstract  ResponseTimeRequestClassMBean lookupResponseTimeRequestClass(String name)
          Looks up a particular response time request class.
abstract  WorkManagerMBean lookupWorkManager(String name)
          Looks up a particular Work Manager.
abstract  void setPartitionFairShare(int partitionFairShare)
          A desired percentage of thread usage by a partition compared to the thread usage by all partitions.

 

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

getFairShareRequestClasses

FairShareRequestClassMBean[] getFairShareRequestClasses()
All the fair share request classes.
Since:
9.0.0.0

createFairShareRequestClass

FairShareRequestClassMBean createFairShareRequestClass(String name)
Creates fair share request classes.
Parameters:
name -
Returns:
an instance.
Since:
9.0.0.0

destroyFairShareRequestClass

void destroyFairShareRequestClass(FairShareRequestClassMBean bean)
Destroys and removes a fair share request class with the specified short name.
Parameters:
bean -
Since:
9.0.0.0

lookupFairShareRequestClass

FairShareRequestClassMBean lookupFairShareRequestClass(String name)
Looks up a particular fair share request classes.
Parameters:
name -
Returns:
a server instance.
Since:
9.0.0.0

getResponseTimeRequestClasses

ResponseTimeRequestClassMBean[] getResponseTimeRequestClasses()
All the response time request classes.
Since:
9.0.0.0

createResponseTimeRequestClass

ResponseTimeRequestClassMBean createResponseTimeRequestClass(String name)
Creates the response time request classes.
Parameters:
name -
Returns:
an instance.
Since:
9.0.0.0

destroyResponseTimeRequestClass

void destroyResponseTimeRequestClass(ResponseTimeRequestClassMBean bean)
Destroys and removes a response time request classes with the specified short name.
Parameters:
bean -
Since:
9.0.0.0

lookupResponseTimeRequestClass

ResponseTimeRequestClassMBean lookupResponseTimeRequestClass(String name)
Looks up a particular response time request class.
Parameters:
name -
Returns:
a server instance.
Since:
9.0.0.0

getContextRequestClasses

ContextRequestClassMBean[] getContextRequestClasses()
All the context request classes.
Since:
9.0.0.0

createContextRequestClass

ContextRequestClassMBean createContextRequestClass(String name)
Creates context request classes.
Parameters:
name -
Returns:
an instance.
Since:
9.0.0.0

destroyContextRequestClass

void destroyContextRequestClass(ContextRequestClassMBean bean)
Destroys and removes a context request class with the specified short name.
Parameters:
bean -
Since:
9.0.0.0

lookupContextRequestClass

ContextRequestClassMBean lookupContextRequestClass(String name)
Looks up a particular context request class.
Parameters:
name -
Returns:
a server instance.
Since:
9.0.0.0

getMinThreadsConstraints

MinThreadsConstraintMBean[] getMinThreadsConstraints()
All the minimum threads constraints.
Since:
9.0.0.0

createMinThreadsConstraint

MinThreadsConstraintMBean createMinThreadsConstraint(String name)
Creates minimum threads constraints.
Parameters:
name -
Returns:
an instance.
Since:
9.0.0.0

destroyMinThreadsConstraint

void destroyMinThreadsConstraint(MinThreadsConstraintMBean bean)
Destroys and removes a minimum threads constraint with the specified short name.
Parameters:
bean -
Since:
9.0.0.0

lookupMinThreadsConstraint

MinThreadsConstraintMBean lookupMinThreadsConstraint(String name)
Looks up a particular minimum threads constraint.
Parameters:
name -
Returns:
a server instance.
Since:
9.0.0.0

getMaxThreadsConstraints

MaxThreadsConstraintMBean[] getMaxThreadsConstraints()
All the maximum threads constraints.
Since:
9.0.0.0

createMaxThreadsConstraint

MaxThreadsConstraintMBean createMaxThreadsConstraint(String name)
Creates maximum threads constraints.
Parameters:
name -
Returns:
an instance.
Since:
9.0.0.0

destroyMaxThreadsConstraint

void destroyMaxThreadsConstraint(MaxThreadsConstraintMBean bean)
Destroys and removes a maximum threads constraint with the specified short name.
Parameters:
bean -
Since:
9.0.0.0

lookupMaxThreadsConstraint

MaxThreadsConstraintMBean lookupMaxThreadsConstraint(String name)
Looks up a particular maximum threads constraint.
Parameters:
name -
Returns:
a server instance.
Since:
9.0.0.0

getCapacities

CapacityMBean[] getCapacities()
All the capacity definitions.
Since:
9.0.0.0

createCapacity

CapacityMBean createCapacity(String name)
Creates capacity constraints.
Parameters:
name -
Returns:
an instance.
Since:
9.0.0.0

destroyCapacity

void destroyCapacity(CapacityMBean bean)
Destroys and removes a capacity constraint with the specified short name.
Parameters:
bean -
Since:
9.0.0.0

lookupCapacity

CapacityMBean lookupCapacity(String name)
Looks up a particular capacity constraint.
Parameters:
name -
Returns:
a server instance.
Since:
9.0.0.0

getWorkManagers

WorkManagerMBean[] getWorkManagers()
All the defined Work Managers.

A note about dynamic additions and deletions of Work Managers in a running server. Only applications or modules deployed or re-deployed after the changes are made can pick up newly added Work Managers. Existing production applications resolve their dispatch-policies to Work Managers during deployment time. Once the application is exported and in production mode, the server does not swap Work Managers. The tight binding helps performance and also avoids issues such as what happens to inflight work in the old Work Manager. This attribute is marked as dynamic so that new applications (re)deployed can pick up the Work Manager changes. Please note that this applies only to resolving dispatch-policies to Work Managers. Existing attributes within a Work Manager, like fair-share and constraints, can be modified without requiring a redeploy.

Since:
9.0.0.0

createWorkManager

WorkManagerMBean createWorkManager(String name)
Creates new Work Managers.
Parameters:
name -
Since:
9.0.0.0

destroyWorkManager

void destroyWorkManager(WorkManagerMBean c)
Destroys Work Managers.
Parameters:
c -
Since:
9.0.0.0

lookupWorkManager

WorkManagerMBean lookupWorkManager(String name)
Looks up a particular Work Manager.
Parameters:
name -
Returns:
a work manager.
Since:
10.0.0.0

getPartitionFairShare

int getPartitionFairShare()
A desired percentage of thread usage by a partition compared to the thread usage by all partitions. It is recommended that the sum of this value for all the partitions running in a WLS domain add up to 100, but it is not strictly enforced. When they do not add up to 100, WLS assigns thread-usage times to different partitions based on their relative values. This attribute is for use in the global domain only. Use the PartitionWorkManager MBean for specifying partition fair share values for partitions.
Since:
12.2.1.0

setPartitionFairShare

void setPartitionFairShare(int partitionFairShare)
A desired percentage of thread usage by a partition compared to the thread usage by all partitions. It is recommended that the sum of this value for all the partitions running in a WLS domain add up to 100, but it is not strictly enforced. When they do not add up to 100, WLS assigns thread-usage times to different partitions based on their relative values. This attribute is for use in the global domain only. Use PartitionWorkManager MBean for specifying partition fair share values for partitions.
Parameters:
partitionFairShare -
Since:
12.2.1.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