|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicServersMBean
Contains the properties used to control how dynamic servers are created. These properties allow you to control if listens ports are calculated, how servers are assigned to machines, and the number of dynamic servers to create.
Field Summary | |
---|---|
static int |
DEFAULT_ADMINISTRATION_PORT_RANGE_BASE |
static int |
DEFAULT_LISTEN_PORT_RANGE_BASE |
static int |
DEFAULT_NAP_LISTEN_PORT_RANGE_BASE |
static int |
DEFAULT_SSL_LISTEN_PORT_RANGE_BASE |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract int |
getDynamicClusterCooloffPeriodSeconds() Get the cool-off period (in seconds) used by the Elasticity Framework while performing scale up or scale down operations. |
abstract int |
getDynamicClusterShutdownTimeoutSeconds() Get the timeout period (in seconds) used by the Elasticity Framework while gracefully shutting down a server. |
abstract int |
getDynamicClusterSize() Get the current size of the dynamic cluster (the number of dynamic server instances allowed to be created). |
abstract String |
getMachineMatchExpression() Get the machine tag expression to use when selecting machine names. |
abstract String |
getMachineMatchType() Get the machine tag expression to use when selecting machine names. |
abstract String |
getMachineNameMatchExpression() The expression is used when determining machines to use for server assignments. |
abstract int |
getMaxDynamicClusterSize() Get the upper bound on the DynamicClusterSize that the Elasticity Framework is allowed to assign to DynamicClusterSize. |
abstract int |
getMaximumDynamicServerCount() Deprecated. Use getDynamicClusterSize() |
abstract int |
getMinDynamicClusterSize() Get the minimum number of running server instances that the Elasticity Framework will attempt to keep in the dynamic cluster. |
abstract String |
getServerNamePrefix() The server name prefix is used to specify the naming convention when creating server names. |
abstract ServerTemplateMBean |
getServerTemplate() The server template used to create dynamic servers. |
abstract boolean |
isCalculatedListenPorts() Specifies whether listen ports are calculated. |
abstract boolean |
isCalculatedMachineNames() The CalculatedMachineNames attribute controls how server instances in a dynamic cluster are assigned to a machine. |
abstract boolean |
isIgnoreSessionsDuringShutdown() Indicates if the Elasticity Framework should ignore inflight HTTP sessions while shutting down servers. |
abstract boolean |
isWaitForAllSessionsDuringShutdown() Indicates if the Elasticity Framework should wait for all (persisted and non-persisted) HTTP sessions during inflight work handling while shutting down servers. |
abstract void |
setCalculatedListenPorts(boolean calculatePorts) Set whether listen ports are calculated using the instance id. |
abstract void |
setCalculatedMachineNames(boolean calculateMachineNames) Set whether machine names are calculated. |
abstract void |
setDynamicClusterCooloffPeriodSeconds(int cooloffPeriod) Set the cool-off period (in seconds) used by the Elasticity Framework while performing scale up or scale down operations. |
abstract void |
setDynamicClusterSize(int size) Set the current size of the dynamic cluster. |
abstract void |
setIgnoreSessionsDuringShutdown(boolean ignoreSessions) Set to true if the Elasticity Framework should ignore inflight HTTP sessions during server shutdown. |
abstract void |
setMachineMatchExpression(String machineMatchExpression) Set the expression to use when determining machines to use for server assignments. |
abstract void |
setMachineMatchType(String machineMatchType) Set the type of expression to use when determining machines to use for server assignments. |
abstract void |
setMachineNameMatchExpression(String machineNameMatchExpression) Set the expression to use when determining machines to use for server assignments. |
abstract void |
setMaxDynamicClusterSize(int maxSize) Set the upper bound for the DynamicClusterSize attribute. |
abstract void |
setMaximumDynamicServerCount(int count) Deprecated. Use setDynamicClusterSize(int size) |
abstract void |
setMinDynamicClusterSize(int minSize) Set the minimum number of running server instances that the Elasticity Framework will attempt to maintain. |
abstract void |
setServerNamePrefix(String serverNamePrefix) Set the prefix to use when creating the server name. |
abstract void |
setServerTemplate(ServerTemplateMBean template) Set the server template to use to create dynamic servers. |
abstract void |
setWaitForAllSessionsDuringShutdown(boolean waitForAllSessions) Set to true if the Elasticity Framework should wait for all (persisted and non-persisted) HTTP sessions during inflight work handling; set to false to wait for non-persisted HTTP sessions only. |
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 |
Field Detail |
---|
static final int DEFAULT_LISTEN_PORT_RANGE_BASE
static final int DEFAULT_SSL_LISTEN_PORT_RANGE_BASE
static final int DEFAULT_NAP_LISTEN_PORT_RANGE_BASE
static final int DEFAULT_ADMINISTRATION_PORT_RANGE_BASE
Method Detail |
---|
ServerTemplateMBean getServerTemplate()
void setServerTemplate(ServerTemplateMBean template)
template
- to use when creating a dynamic servervoid setMaximumDynamicServerCount(int count)
count
- the expected number of dynamic serversint getMaximumDynamicServerCount()
void setCalculatedListenPorts(boolean calculatePorts)
calculatePorts
- true if listen ports should be calculated, false if notboolean isCalculatedListenPorts()
void setCalculatedMachineNames(boolean calculateMachineNames)
calculateMachineNames
- true if machine names should be calculated, false if notboolean isCalculatedMachineNames()
void setMachineNameMatchExpression(String machineNameMatchExpression)
machineNameMatchExpression
- to use when determining the machines to use when assigning servers to a machine.String getMachineNameMatchExpression()
void setMachineMatchExpression(String machineMatchExpression)
machineMatchExpression
- to use when determining the machines to use when assigning servers to a machine.String getMachineMatchExpression()
void setMachineMatchType(String machineMatchType)
machineMatchType
- to use when determining the machines to use when assigning servers to a machine.String getMachineMatchType()
void setServerNamePrefix(String serverNamePrefix)
serverNamePrefix
- to use when determining the machines to use when assigning servers to a machine.String getServerNamePrefix()
int getDynamicClusterSize()
void setDynamicClusterSize(int size)
size
- Size of the dynamic clusterint getMinDynamicClusterSize()
void setMinDynamicClusterSize(int minSize)
minSize
- Minimum number of running servers that the Elasticity framework will attempt to maintainint getMaxDynamicClusterSize()
void setMaxDynamicClusterSize(int maxSize)
maxSize
- Upper bound on DynamicClusterSizeint getDynamicClusterCooloffPeriodSeconds()
void setDynamicClusterCooloffPeriodSeconds(int cooloffPeriod)
cooloffPeriod
- Cool-off period (in seconds) used by the Elasticity framework while performing scale-up or scale-down operations.int getDynamicClusterShutdownTimeoutSeconds()
ServerLifeCycleRuntimeMBean.shutdown(int, boolean, boolean)
boolean isIgnoreSessionsDuringShutdown()
ServerLifeCycleRuntimeMBean.shutdown(int, boolean, boolean)
void setIgnoreSessionsDuringShutdown(boolean ignoreSessions)
true
if the Elasticity Framework should ignore inflight HTTP sessions during server shutdown.ignoreSessions
- If true, inflight HTTP sessions will be ignored during server shutdownServerLifeCycleRuntimeMBean.shutdown(int, boolean, boolean)
boolean isWaitForAllSessionsDuringShutdown()
ServerLifeCycleRuntimeMBean.shutdown(int, boolean, boolean)
void setWaitForAllSessionsDuringShutdown(boolean waitForAllSessions)
true
if the Elasticity Framework should wait for all (persisted and non-persisted) HTTP sessions during inflight work handling; set to false
to wait for non-persisted HTTP sessions only.waitForAllSessions
- Set to true
to wait for all HTTP sessions during inflight work handling; false
to wait for non-persisted HTTP sessions only.ServerLifeCycleRuntimeMBean.shutdown(int, boolean, boolean)
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |