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 PartitionWorkManagerMBean

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

public interface PartitionWorkManagerMBean
extends ConfigurationMBean

Specifies partition-level work manager policies that are configured by domain system administrators.


Field Summary

 

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

 

Method Summary
abstract  int getFairShare()
          A desired percentage of thread usage by a partition compared to the thread usage by all partitions.
abstract  int getMaxThreadsConstraint()
          The maximum number of concurrent requests that the self-tuning thread pool can be processing on behalf of a partition at any given time.
abstract  int getMaxThreadsConstraintQueueSize()
          Desired size of the Partition MaxThreadsConstraint queue for requests pending execution.
abstract  int getMinThreadsConstraintCap()
          This imposes an upper limit on the number of standby threads that can be created for satisfying the minimum threads constraints configured in a partition.
abstract  int getSharedCapacityPercent()
          The total number of requests that can be present in the server for a partition, as a percentage of the sharedCapacityForWorkManagers attribute value in OverloadProtection MBean.
abstract  void setFairShare(int fairShare)
          A desired percentage of thread usage by a partition compared to the thread usage by all partitions.
abstract  void setMaxThreadsConstraint(int maxThreadsConstraint)
          The maximum number of concurrent requests that the self-tuning thread pool can be processing on behalf of a partition at any given time.
abstract  void setMaxThreadsConstraintQueueSize(int queueSize)
          Desired size of the Partition MaxThreadsConstraint queue for requests pending execution.
abstract  void setMinThreadsConstraintCap(int minThreadsConstraintCap)
          This imposes an upper limit on the number of standby threads that can be created for satisfying the minimum threads constraints configured in a partition.
abstract  void setSharedCapacityPercent(int capacityPercent)
          The total number of requests that can be present in the server for a partition, as a percentage of the sharedCapacityForWorkManagers attribute value in OverloadProtection MBean.

 

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

getSharedCapacityPercent

int getSharedCapacityPercent()
The total number of requests that can be present in the server for a partition, as a percentage of the sharedCapacityForWorkManagers attribute value in OverloadProtection MBean. This includes requests that are enqueued and those under execution.
Since:
12.2.1.0

setSharedCapacityPercent

void setSharedCapacityPercent(int capacityPercent)
The total number of requests that can be present in the server for a partition, as a percentage of the sharedCapacityForWorkManagers attribute value in OverloadProtection MBean. This includes requests that are enqueued and those under execution.
Parameters:
capacityPercent -
Since:
12.2.1.0

getFairShare

int getFairShare()
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.
Since:
12.2.1.0

setFairShare

void setFairShare(int fairShare)
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.
Parameters:
fairShare -
Since:
12.2.1.0

getMinThreadsConstraintCap

int getMinThreadsConstraintCap()
This imposes an upper limit on the number of standby threads that can be created for satisfying the minimum threads constraints configured in a partition. If the sum of the configured values of all minimum threads constraints in a partition exceeds this configured value, a warning message will be logged and WLS will limit the number of threads the self-tuning thread pool will allocate to the partition to satisfy its minimum threads constraints. A value of 0 means no limit is imposed on the partition.
Since:
12.2.1.0

setMinThreadsConstraintCap

void setMinThreadsConstraintCap(int minThreadsConstraintCap)
This imposes an upper limit on the number of standby threads that can be created for satisfying the minimum threads constraints configured in a partition. If the sum of the configured values of all minimum threads constraints in a partition exceeds this configured value, a warning message will be logged and WLS will limit the number of threads the self-tuning thread pool will allocate to the partition to satisfy its minimum threads constraints. A value of 0 means no limit is imposed on the partition.
Parameters:
minThreadsConstraintCap -
Since:
12.2.1.0

getMaxThreadsConstraint

int getMaxThreadsConstraint()
The maximum number of concurrent requests that the self-tuning thread pool can be processing on behalf of a partition at any given time. The default value of -1 means that this is only limited by the size of the self-tuning thread pool.
Since:
12.2.1.0

setMaxThreadsConstraint

void setMaxThreadsConstraint(int maxThreadsConstraint)
The maximum number of concurrent requests that the self-tuning thread pool can be processing on behalf of a partition at any given time. The default value of -1 means that this is only limited by the size of the self-tuning thread pool.
Parameters:
maxThreadsConstraint -
Since:
12.2.1.0

setMaxThreadsConstraintQueueSize

void setMaxThreadsConstraintQueueSize(int queueSize)

Desired size of the Partition MaxThreadsConstraint queue for requests pending execution.

Set the approximate size of the Partition MaxThreadsConstraint requests queue. Requests are added to this queue if they are not yet eligible for execution due the the maximum number of concurrent threads that can execute requests for this partition has been reached. The actual size of the queue created may be different from the value set here. For example, it may be rounded up to the nearest power of 2. Setting a large queue size would increase memory consumption. It is best to not set the queue size to be larger than necessary.

Since:
12.2.1.0

getMaxThreadsConstraintQueueSize

int getMaxThreadsConstraintQueueSize()

Desired size of the Partition MaxThreadsConstraint queue for requests pending execution.

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