|
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 KernelMBean
This bean represents the configuration of the core message passing kernel on both WebLogic clients and servers.
ServerMBean
extends this bean to represent the configuration of a server.
Field Summary | |
---|---|
static String |
STDOUT_NOID Format of messages logged to the console in WebLogic Server 6. |
static String |
STDOUT_STANDARD Default format of messages logged to the console. |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract String |
getAdministrationProtocol() Returns the protocol to be used for administrative connections when none is specified. |
abstract int |
getCompleteCOMMessageTimeout() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout() |
abstract int |
getCompleteHTTPMessageTimeout() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout() |
abstract int |
getCompleteIIOPMessageTimeout() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout() |
abstract int |
getCompleteMessageTimeout() The maximum number of seconds that this server waits for a complete message to be received. |
abstract int |
getCompleteT3MessageTimeout() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout() |
abstract int |
getCompleteWriteTimeout() The maximum number of seconds that this server waits for a complete HTTP response to be sent. |
abstract int |
getConnectTimeout() The amount of time that this server should wait to establish an outbound socket connection before timing out. |
abstract String |
getDefaultProtocol() The protocol to use for connections when none is specified. |
abstract String |
getDefaultSecureProtocol() The protocol to use for secure connections when none is specified. |
abstract int |
getDGCIdlePeriodsUntilTimeout() The number of idle periods allowed before the object is collected. |
abstract ExecuteQueueMBean[] |
getExecuteQueues() Returns the execute queues configured for this server. |
abstract int |
getIdleConnectionTimeout() The maximum number of seconds that a connection is allowed to be idle before it is closed by the server. |
abstract int |
getIdleIIOPConnectionTimeout() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getIdleConnectionTimeout() |
abstract int |
getIdlePeriodsUntilTimeout() The number of idle periods until peer is considered unreachable. |
abstract IIOPMBean |
getIIOP() Returns the kernel's IIOP configuration. |
abstract String |
getIIOPTxMechanism() Deprecated. 8.1.0.0 use IIOPMBean.getTxMechanism() |
abstract LogMBean |
getLog() Returns the log settings for this kernel. |
abstract int |
getMaxCOMMessageSize() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize() |
abstract int |
getMaxHTTPMessageSize() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize() |
abstract int |
getMaxIIOPMessageSize() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize() |
abstract int |
getMaxMessageSize() The maximum number of bytes allowed in messages that are received over all supported protocols, unless overridden by a protocol-specific setting or a custom channel setting. |
abstract int |
getMaxOpenSockCount() The maximum number of open sockets allowed in server at a given point of time. |
abstract int |
getMaxT3MessageSize() Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize() |
abstract int |
getMessagingBridgeThreadPoolSize() Deprecated. 9.0.0.0 replaced by a Work Manager named weblogic.jms.MessagingBridge |
abstract int |
getMTUSize() Returns the size of the MTU of the NIC. |
abstract String |
getMuxerClass() Non-blocking IO is enabled by default on the server side. |
abstract int |
getPeriodLength() The time interval in milliseconds of the heartbeat period. |
abstract boolean |
getPrintStackTraceInProduction() Specifies whether the server message log includes exception stack trace that are raised in remote systems. |
abstract int |
getSocketReaders() The number of socket reader threads. |
abstract SSLMBean |
getSSL() Returns the kernel's SSL configuration. |
abstract String |
getStdoutFormat() Deprecated. |
abstract int |
getStdoutSeverityLevel() Deprecated. 9.0.0.0 Replaced by LogMBean.StdoutSeverity. For backward compatibility the changes to this attribute will be propagated to the LogMBean. |
abstract int |
getStuckThreadMaxTime() Deprecated. 9.0.0.0 replaced by ServerFailureTriggerMBean.getMaxStuckThreadTime() |
abstract int |
getStuckThreadTimerInterval() The number of seconds after which WebLogic Server periodically scans threads to see if they have been continually working for the configured maximum length of time. |
abstract int |
getThreadPoolPercentSocketReaders() The percentage of execute threads from the default queue that can be used as socket readers. |
abstract boolean |
getUse81StyleExecuteQueues() Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers. |
abstract boolean |
isAddWorkManagerThreadsByCpuCount() Enables increased efficiency of the self-tuning thread pool by aligning it with the Exalogic processor architecture threading capabilities. |
abstract boolean |
isAllowShrinkingPriorityRequestQueue() Specifies whether self-tuning should allow shrinking of its priority based queue for pending requests after it has grown in size due to busy workload, and whether it should try to purge work requests that have already been picked up for processing due to minimum threads constraints before growing the queue. |
abstract boolean |
isEagerThreadLocalCleanup() Specifies whether to clean up all ThreadLocals storage from self-tuning thread pool threads after they have finished processing each work request. |
abstract boolean |
isGatheredWritesEnabled() Enables gathered writes over NIO socket channels. |
abstract boolean |
isInstrumentStackTraceEnabled() Specifies whether the server returns stack traces for RMI calls that generate exceptions. |
abstract boolean |
isLogRemoteExceptionsEnabled() Specifies whether the server message log includes exceptions that are raised in remote systems. |
abstract boolean |
isNativeIOEnabled() Specifies whether native I/O is enabled for the server. |
abstract boolean |
isOutboundEnabled() Specifies whether new server-to-server connections may consider the default server channel when initiating a connection. |
abstract boolean |
isOutboundPrivateKeyEnabled() Specifies whether the SSL identity specified by getSSLMBean#ServerPrivateKeyAlias for this server should be used for outbound SSL connections on the default server channel. |
abstract boolean |
isReverseDNSAllowed() Specifies whether the kernel is allowed to perform reverse DNS lookups. |
abstract boolean |
isScatteredReadsEnabled() Enables scattered reads over NIO socket channels. |
abstract boolean |
isSocketBufferSizeAsChunkSize() Specifies whether the server's buffer size for sending or receiving data through a raw socket should be set to 4KB. |
abstract boolean |
isStdoutDebugEnabled() Deprecated. 9.0.0.0 replaced by LogMBean.StdoutSeverity For backward compatibility the changes to this attribute will be propagated to the LogMBean. |
abstract boolean |
isStdoutEnabled() Deprecated. 9.0.0.0 replaced by LogMBean.StdoutSeverity, for backward compatibility the changes to this attribute will be propagated to the LogMBean. |
abstract boolean |
isStdoutLogStack() Deprecated. 9.0.0.0 |
abstract boolean |
isUseConcurrentQueueForRequestManager() Reduces lock contention by using concurrent buffer queue to park incoming requests. |
abstract boolean |
isUseDetailedThreadName() Specifies whether to includes detailed information in self-tuning thread pool thread names. |
abstract boolean |
isUseEnhancedIncrementAdvisor() Specifies whether self-tuning should use the enhanced IncrementAdvisor implementation that uses a different algorithm to adjust the size of the self-tuning thread pool. |
abstract boolean |
isUseEnhancedPriorityQueueForRequestManager() Reduces lock contention by using the enhanced ConcurrentCalendarQueue as the priority based queue for pending requests that are waiting for a thread. |
abstract ExecuteQueueMBean |
lookupExecuteQueue(String name) |
abstract void |
setAddWorkManagerThreadsByCpuCount(boolean flag) Specifies whether self-tuning thread pool should increment thread count by CPU count. |
abstract void |
setAdministrationProtocol(String protocol) Sets the protocol to be used for ADMIN connections when none is specified. |
abstract void |
setAllowShrinkingPriorityRequestQueue(boolean flag) Specifies if self-tuning should allow shrinking of its priority based queue for pending requests after it has grown in size due to busy workload, and whether it should try to purge work requests that have already been picked up for processing due to minimum threads constraints before growing the queue. |
abstract void |
setCompleteCOMMessageTimeout(int seconds) Sets the value of the CompleteCOMMessageTimeout attribute. |
abstract void |
setCompleteHTTPMessageTimeout(int seconds) Sets the value of the CompleteHTTPMessageTimeout attribute. |
abstract void |
setCompleteIIOPMessageTimeout(int seconds) Sets the value of the CompleteIIOPMessageTimeout attribute. |
abstract void |
setCompleteMessageTimeout(int seconds) Sets the value of the CompleteMessageTimeout attribute. |
abstract void |
setCompleteT3MessageTimeout(int seconds) Sets the value of the CompleteT3MessageTimeout attribute. |
abstract void |
setCompleteWriteTimeout(int seconds) Sets the value of the CompleteWriteTimeout attribute. |
abstract void |
setConnectTimeout(int timeout) Sets the value of the ConnectTimeout attribute. |
abstract void |
setDefaultProtocol(String protocol) Sets the value of the DefaultProtocol attribute. |
abstract void |
setDefaultSecureProtocol(String protocol) Sets the value of the DefaultSecureProtocol attribute. |
abstract void |
setDGCIdlePeriodsUntilTimeout(int periods) Sets the value of the DGCIdlePeriodsUntilTimeout attribute. |
abstract void |
setEagerThreadLocalCleanup(boolean flag) Specifies whether to clean up all ThreadLocals storage from self-tuning thread pool threads after they have finished processing each work request. |
abstract void |
setGatheredWritesEnabled(boolean enable) Enables gathered writes over NIO Socket channels. |
abstract void |
setIdleConnectionTimeout(int seconds) Sets the value of the IdleConnectionTimeout attribute. |
abstract void |
setIdleIIOPConnectionTimeout(int seconds) Sets the value of the IdleIIOPConnectionTimeout attribute. |
abstract void |
setIdlePeriodsUntilTimeout(int idlePeriods) Sets the value of the IdlePeriodsUntilTimeout attribute. |
abstract void |
setIIOPTxMechanism(String mech) Sets the IIOPTxMechanism attribute of the KernelMBean object. |
abstract void |
setInstrumentStackTraceEnabled(boolean enable) Sets the value of the InstrumentStackTraceEnabled attribute. |
abstract void |
setLogRemoteExceptionsEnabled(boolean enable) Sets the value of the LogRemoteExceptionsEnabled attribute. |
abstract void |
setMaxCOMMessageSize(int maxsize) Sets the value of the MaxCOMMessageSize attribute. |
abstract void |
setMaxHTTPMessageSize(int maxsize) Sets the value of the MaxHTTPMessageSize attribute. |
abstract void |
setMaxIIOPMessageSize(int maxsize) Deprecated. |
abstract void |
setMaxMessageSize(int maxsize) Sets the value of the MaxMessageSize attribute. |
abstract void |
setMaxOpenSockCount(int sockCount) Sets the value of the MaxOpenSockCount attribute. |
abstract void |
setMaxT3MessageSize(int maxsize) Sets the value of the MaxT3MessageSize attribute. |
abstract void |
setMessagingBridgeThreadPoolSize(int size) Sets the value of the MessagingBridgeThreadPoolSize attribute. |
abstract void |
setMTUSize(int size) Sets the value of the MTUSize attribute. |
abstract void |
setMuxerClass(String name) Sets the value of the MuxerClass attribute. |
abstract void |
setNativeIOEnabled(boolean enable) Sets the value of the NativeIOEnabled attribute. |
abstract void |
setOutboundEnabled(boolean enabled) Sets the value of the OutboundEnabled attribute. |
abstract void |
setOutboundPrivateKeyEnabled(boolean enabled) Sets the value of the OutboundPrivateKeyEnabled attribute. |
abstract void |
setPeriodLength(int periodLength) Sets the value of the PeriodLength attribute. |
abstract void |
setPrintStackTraceInProduction(boolean enable) Sets the value of the PrintStackTraceInProduction attribute. |
abstract void |
setReverseDNSAllowed(boolean flag) Sets the value of the ReverseDNSAllowed attribute. |
abstract void |
setScatteredReadsEnabled(boolean enable) Enables scattered reads over NIO Socket channels. |
abstract void |
setSocketBufferSizeAsChunkSize(boolean flag) Sets the value of the SocketBuffersSizeAsChunkSize attribute. |
abstract void |
setSocketReaders(int numReaders) Sets the value of the SocketReaders attribute. |
abstract void |
setStdoutDebugEnabled(boolean enable) Sets the value of the StdoutDebugEnabled attribute. |
abstract void |
setStdoutEnabled(boolean enable) Deprecated. |
abstract void |
setStdoutFormat(String format) Deprecated. |
abstract void |
setStdoutLogStack(boolean stack) Deprecated. 9.0.0.0 |
abstract void |
setStdoutSeverityLevel(int severityLevel) Sets the value of the StdoutSeverityLevel attribute. |
abstract void |
setStuckThreadMaxTime(int seconds) Deprecated. 9.0.0.0 replaced by ServerFailureTriggerMBean.setMaxStuckThreadTime() |
abstract void |
setStuckThreadTimerInterval(int seconds) Sets the value of the StuckThreadTimerInterval attribute. |
abstract void |
setThreadPoolPercentSocketReaders(int percent) Sets the value of the ThreadPoolPercentSocketReaders attribute. |
abstract void |
setUse81StyleExecuteQueues(boolean enable) Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers. |
abstract void |
setUseConcurrentQueueForRequestManager(boolean flag) Specifies if self-tuning should use buffer queue to park incoming requests. |
abstract void |
setUseDetailedThreadName(boolean flag) Specifies whether to include detail information in self-tuning thread pool thread names. |
abstract void |
setUseEnhancedIncrementAdvisor(boolean flag) Specifies if self-tuning should use the enhanced IncrementAdvisor implementation that uses a different algorithm to adjust the size of the self-tuning thread pool. |
abstract void |
setUseEnhancedPriorityQueueForRequestManager(boolean flag) Specifies if self-tuning should use the enhanced ConcurrentCalendarQueue as the priority based queue for pending requests that are waiting for a thread. |
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 String STDOUT_STANDARD
static final String STDOUT_NOID
Method Detail |
---|
boolean isReverseDNSAllowed()
Specifies whether the kernel is allowed to perform reverse DNS lookups.
void setReverseDNSAllowed(boolean flag) throws DistributedManagementException
Sets the value of the ReverseDNSAllowed attribute.
flag
- The new reverseDNSAllowed valueDistributedManagementException
KernelMBean.isReverseDNSAllowed()
String getDefaultProtocol()
The protocol to use for connections when none is specified.
void setDefaultProtocol(String protocol) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the DefaultProtocol attribute.
protocol
- The new defaultProtocol valueInvalidAttributeValueException
DistributedManagementException
IllegalArgumentException
- if the protocol is not supported by this kernel.KernelMBean.getDefaultProtocol()
String getDefaultSecureProtocol()
The protocol to use for secure connections when none is specified.
void setDefaultSecureProtocol(String protocol) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the DefaultSecureProtocol attribute.
protocol
- The new defaultSecureProtocol valueInvalidAttributeValueException
DistributedManagementException
IllegalArgumentException
- if the protocol is not supported by this kernel.KernelMBean.getDefaultSecureProtocol()
String getAdministrationProtocol()
Returns the protocol to be used for administrative connections when none is specified.
void setAdministrationProtocol(String protocol) throws InvalidAttributeValueException, DistributedManagementException
Sets the protocol to be used for ADMIN connections when none is specified.
protocol
- The new administrationProtocol valueInvalidAttributeValueException
DistributedManagementException
boolean isNativeIOEnabled()
Specifies whether native I/O is enabled for the server.
KernelMBean.getSocketReaderTimeoutMaxMillis()
void setNativeIOEnabled(boolean enable)
Sets the value of the NativeIOEnabled attribute.
enable
- The new nativeIOEnabled valueKernelMBean.isNativeIOEnabled()
String getMuxerClass()
Non-blocking IO is enabled by default on the server side.
The default value is weblogic.socket.NIOSocketMuxer
.
The Certicom SSL implementation is not supported with NIOSocketMuxer. If you need to secure internet communication, Oracle recommends enabling JSSE (Java Secure Socket Extension).
void setMuxerClass(String name)
Sets the value of the MuxerClass attribute.
name
- The new muxerClass valueKernelMBean.getMuxerClass()
int getSocketReaders()
The number of socket reader threads.
void setSocketReaders(int numReaders)
Sets the value of the SocketReaders attribute.
numReaders
- The number of socket reader threadsKernelMBean.getSocketReaders()
int getThreadPoolPercentSocketReaders()
The percentage of execute threads from the default queue that can be used as socket readers.
void setThreadPoolPercentSocketReaders(int percent) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the ThreadPoolPercentSocketReaders attribute.
percent
- The new threadPoolPercentSocketReaders valueInvalidAttributeValueException
DistributedManagementException
IllegalArgumentException
- if the argument is null or represents a negative int.KernelMBean.getThreadPoolPercentSocketReaders()
boolean isOutboundEnabled()
Specifies whether new server-to-server connections may consider the default server channel when initiating a connection. This is only relevant if the connection needs to be bound to the default listen address. This will only work for binary protocols that support both outbound and inbound traffic.
When this feature is not enabled, connections are initiated using a local address selected by the underlying hardware. For the default channel this is usually what is wanted for IP-routing to be effective. Note that since the default is false, other outbound channels will be considered in preference to the default channel.
Default administration channels, created when the domain-wide administration port is turned on, are always considered and bound when initiating an administrative connection. To allow IP-routing for administration traffic create custom admin with isOutboundEnabled
set to false instead of enabling the domain-wide ADMIN port.
NetworkAccessPointMBean.isOutboundEnabled()
void setOutboundEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the OutboundEnabled attribute.
enabled
- The new outboundEnabled valueInvalidAttributeValueException
KernelMBean.isOutboundEnabled()
boolean isOutboundPrivateKeyEnabled()
Specifies whether the SSL identity specified by getSSLMBean#ServerPrivateKeyAlias
for this server should be used for outbound SSL connections on the default server channel. In normal circumstances the outbound identity is determined by the caller's environment.
KernelMBean.isOutboundEnabled()
void setOutboundPrivateKeyEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the OutboundPrivateKeyEnabled attribute.
enabled
- The new outboundEnabled valueInvalidAttributeValueException
KernelMBean.isOutboundPrivateKeyEnabled()
int getMaxMessageSize()
The maximum number of bytes allowed in messages that are received over all supported protocols, unless overridden by a protocol-specific setting or a custom channel setting.
The order of precedence for setting message size maximums is as follows:
A channel-wide maximum in a custom network channel.
A protocol-specific setting in the default network channel.
See
The message maximum in this attribute.
This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.
A client can set this value using the -Dweblogic.MaxMessageSize
property.
NetworkAccessPointMBean
void setMaxMessageSize(int maxsize) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxMessageSize attribute.
maxsize
- The new maxMessageSize valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getMaxMessageSize()
int getMaxT3MessageSize()
NetworkAccessPointMBean.getMaxMessageSize()
The maximum number of bytes allowed in messages that are received over the T3 protocol. If you configure custom network channels for this server, each channel can override this maximum message size.
This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.
A value of -1 causes the T3 protocol to use the maximums that are specified elsewhere along the order of precedence.
KernelMBean.getMaxMessageSize()
, NetworkAccessPointMBean.getMaxMessageSize()
void setMaxT3MessageSize(int maxsize) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxT3MessageSize attribute.
maxsize
- The new maxT3MessageSize valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getMaxT3MessageSize()
void setSocketBufferSizeAsChunkSize(boolean flag) throws DistributedManagementException
Sets the value of the SocketBuffersSizeAsChunkSize attribute.
flag
- The new SocketBufferSizeToChunkSize valueDistributedManagementException
KernelMBean.isSocketBufferSizeAsChunkSize()
boolean isSocketBufferSizeAsChunkSize()
Specifies whether the server's buffer size for sending or receiving data through a raw socket should be set to 4KB.
Otherwise, the server does not impose a limit to the buffer size and defers to the operating system. This option is useful only on some operating systems for improving performance. It should be disabled in most environments.
int getMaxHTTPMessageSize()
NetworkAccessPointMBean.getMaxMessageSize()
The maximum number of bytes allowed in messages that are received over the HTTP protocol. If you configure custom network channels for this server, each channel can override this maximum message size.
This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.
A value of -1 causes the HTTP protocol to use the maximums that are specified elsewhere along the order of precedence.
KernelMBean.getMaxMessageSize()
, NetworkAccessPointMBean.getMaxMessageSize()
void setMaxHTTPMessageSize(int maxsize) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxHTTPMessageSize attribute.
maxsize
- The new maxHTTPMessageSize valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getMaxHTTPMessageSize()
int getMaxCOMMessageSize()
NetworkAccessPointMBean.getMaxMessageSize()
The maximum number of bytes allowed in messages that are received over the COM protocol. If you configure custom network channels for this server, each channel can override this maximum message size.
This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.
A value of -1 causes the COM protocol to use the maximums that are specified elsewhere along the order of precedence.
KernelMBean.getMaxMessageSize()
, NetworkAccessPointMBean.getMaxMessageSize()
void setMaxCOMMessageSize(int maxsize) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxCOMMessageSize attribute.
maxsize
- The new maxCOMMessageSize valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getMaxCOMMessageSize()
int getMaxIIOPMessageSize()
NetworkAccessPointMBean.getMaxMessageSize()
The maximum number of bytes allowed in messages that are received over the IIOP protocol. If you configure custom network channels for this server, each channel can override this maximum message size.
This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.
A value of -1 causes the IIOP protocol to use the maximums that are specified elsewhere along the order of precedence.
KernelMBean.getMaxMessageSize()
, NetworkAccessPointMBean.getMaxMessageSize()
void setMaxIIOPMessageSize(int maxsize) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxIIOPMessageSize attribute.
maxsize
- The new maxIIOPMessageSize valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getMaxIIOPMessageSize()
String getIIOPTxMechanism()
IIOPMBean.getTxMechanism()
Configures IIOP propagate transactions using either WebLogic-specific JTA or the OMG-specified OTS.
It is not possible to use both because it affects the way transactions are negotiated.
void setIIOPTxMechanism(String mech) throws InvalidAttributeValueException, DistributedManagementException
Sets the IIOPTxMechanism attribute of the KernelMBean object.
mech
- The new iIOPTxMechanism valueInvalidAttributeValueException
DistributedManagementException
int getConnectTimeout()
The amount of time that this server should wait to establish an outbound socket connection before timing out. A value of 0
disables server connect timeout.
NetworkAccessPointMBean.getConnectTimeout()
void setConnectTimeout(int timeout) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the ConnectTimeout attribute.
timeout
- The new connectTimeout valueInvalidAttributeValueException
DistributedManagementException
int getCompleteMessageTimeout()
The maximum number of seconds that this server waits for a complete message to be received. If you configure network channels for this server, each channel can override this message timeout.
This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.
CompleteMessageTimeout affects the HTTP Response, such that if WebLogic Server discovers sockets inactive for longer than the CompleteMessageTimeout, the server will close these sockets.
NetworkAccessPointMBean.getCompleteMessageTimeout()
void setCompleteMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteMessageTimeout attribute.
seconds
- The new completeMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getCompleteMessageTimeout()
int getCompleteT3MessageTimeout()
NetworkAccessPointMBean.getCompleteMessageTimeout()
The maximum number of seconds spent waiting for a complete T3 message to be received. If you configure network channels for this server, each channel can override this T3 message timeout.
This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.
NetworkAccessPointMBean.getCompleteMessageTimeout()
void setCompleteT3MessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteT3MessageTimeout attribute.
seconds
- The new completeT3MessageTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getCompleteT3MessageTimeout()
int getCompleteHTTPMessageTimeout()
NetworkAccessPointMBean.getCompleteMessageTimeout()
The maximum number of seconds spent waiting for a complete HTTP message to be received. If you configure network channels for this server, each channel can override this HTTP message timeout.
This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.
A value of -1 indicates that this value should be obtained from network channels configured for this server.
NetworkAccessPointMBean.getCompleteMessageTimeout()
void setCompleteHTTPMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteHTTPMessageTimeout attribute.
seconds
- The new completeHTTPMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getCompleteHTTPMessageTimeout()
int getCompleteCOMMessageTimeout()
NetworkAccessPointMBean.getCompleteMessageTimeout()
The maximum number of seconds spent waiting for a complete COM message to be received. This setting does not apply to any network channels that you have configured for this server.
This timeout helps guard against a denial of service attack in which a caller indicates that they will be sending a message of a certain size which they never finish sending.
NetworkAccessPointMBean.getCompleteMessageTimeout()
void setCompleteCOMMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteCOMMessageTimeout attribute.
seconds
- The new completeCOMMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getCompleteCOMMessageTimeout()
int getIdleConnectionTimeout()
The maximum number of seconds that a connection is allowed to be idle before it is closed by the server. The T3 and T3S protocols ignore this attribute. If you configure network channels for this server, each channel can override this idle connection message timeout.
This timeout helps guard against server deadlock through too many open connections.
NetworkAccessPointMBean.getIdleConnectionTimeout()
void setIdleConnectionTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the IdleConnectionTimeout attribute.
seconds
- The new idleConnectionTimeout valueInvalidAttributeValueException
DistributedManagementException
int getIdleIIOPConnectionTimeout()
NetworkAccessPointMBean.getIdleConnectionTimeout()
The maximum number of seconds an IIOP connection is allowed to be idle before it is closed by the server. This timeout helps guard against server deadlock through too many open connections.
void setIdleIIOPConnectionTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the IdleIIOPConnectionTimeout attribute.
seconds
- The new idleIIOPConnectionTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getIdleIIOPConnectionTimeout()
int getCompleteIIOPMessageTimeout()
NetworkAccessPointMBean.getCompleteMessageTimeout()
The maximum number of seconds spent waiting for a complete IIOP message to be received. This timeout helps guard against denial of service attacks in which a caller indicates that they will be sending a message of a certain size which they never finish sending.
void setCompleteIIOPMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteIIOPMessageTimeout attribute.
seconds
- The new completeIIOPMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getCompleteIIOPMessageTimeout()
int getPeriodLength()
The time interval in milliseconds of the heartbeat period. A value of 0 indicates that heartbeats are turned off.
void setPeriodLength(int periodLength) throws InvalidAttributeValueException
Sets the value of the PeriodLength attribute.
periodLength
- The new periodLength valueInvalidAttributeValueException
IllegalArgumentException
- if the argument is null or represents a negative int.KernelMBean.getPeriodLength()
int getIdlePeriodsUntilTimeout()
The number of idle periods until peer is considered unreachable.
void setIdlePeriodsUntilTimeout(int idlePeriods) throws InvalidAttributeValueException
Sets the value of the IdlePeriodsUntilTimeout attribute.
idlePeriods
- The new idlePeriodsUntilTimeout valueInvalidAttributeValueException
IllegalArgumentException
- if the argument is null or represents a negative int.KernelMBean.getIdlePeriodsUntilTimeout()
int getDGCIdlePeriodsUntilTimeout()
The number of idle periods allowed before the object is collected.
void setDGCIdlePeriodsUntilTimeout(int periods) throws ConfigurationException
Sets the value of the DGCIdlePeriodsUntilTimeout attribute.
periods
- The new dGCIdlePeriodsUntilTimeout valueConfigurationException
KernelMBean.getDGCIdlePeriodsUntilTimeout()
SSLMBean getSSL()
Returns the kernel's SSL configuration. An SSL MBean is always linked to a particular kernel and cannot be changed. Individual attributes on the SSL MBean may be changed, as documented, but the MBean itself may not.
IIOPMBean getIIOP()
Returns the kernel's IIOP configuration. An IIOP MBean is always linked to a particular kernel and cannot be changed. Individual attributes on the IIOP MBean may be changed, as documented, but the MBean itself may not.
LogMBean getLog()
Returns the log settings for this kernel. A Log MBean is always linked to a particular kernel and cannot be changed. Individual attributes on the Log MBean may be changed, as documented, but the MBean itself may not.
boolean isStdoutEnabled()
Specifies whether the server sends messages to standard out in addition to the log file.
Other settings configure the minimum severity of a message that the server sends to standard out.
KernelMBean.isStdoutDebugEnabled()
, KernelMBean.getStdoutSeverityLevel()
void setStdoutEnabled(boolean enable) throws DistributedManagementException
Sets the value of the StdoutEnabled attribute.
enable
- The new stdoutEnabled valueDistributedManagementException
KernelMBean.isStdoutEnabled()
int getStdoutSeverityLevel()
The minimum severity of a message that the server sends to standard out. (Requires you to enable sending messages to standard out.)
KernelMBean.isStdoutEnabled()
void setStdoutSeverityLevel(int severityLevel) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the StdoutSeverityLevel attribute.
severityLevel
- The new stdoutSeverityLevel valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getStdoutSeverityLevel()
boolean isStdoutDebugEnabled()
Specifies whether the server sends messages of the DEBUG
severity to standard out in addition to the log file. (Requires you to enable sending messages to standard out.)
void setStdoutDebugEnabled(boolean enable) throws DistributedManagementException
Sets the value of the StdoutDebugEnabled attribute.
enable
- The new stdoutDebugEnabled valueDistributedManagementException
KernelMBean.isStdoutDebugEnabled()
boolean isLogRemoteExceptionsEnabled()
Specifies whether the server message log includes exceptions that are raised in remote systems.
void setLogRemoteExceptionsEnabled(boolean enable) throws DistributedManagementException
Sets the value of the LogRemoteExceptionsEnabled attribute.
enable
- The new logRemoteExceptionsEnabled valueDistributedManagementException
KernelMBean.isLogRemoteExceptionsEnabled()
boolean isInstrumentStackTraceEnabled()
Specifies whether the server returns stack traces for RMI calls that generate exceptions.
With RMI stack tracking enabled, if a client issues an RMI call to a server subsystem or to a module running within the server, and if the subsystem or module generates an exception that includes a stack trace, the server will return the exception as well as the stack trace. With it disabled, the server will return the exception without the stack trace details.
void setInstrumentStackTraceEnabled(boolean enable) throws DistributedManagementException
Sets the value of the InstrumentStackTraceEnabled attribute.
enable
- The new instrumentStackTraceEnabled valueDistributedManagementException
KernelMBean.isInstrumentStackTraceEnabled()
boolean getPrintStackTraceInProduction()
Specifies whether the server message log includes exception stack trace that are raised in remote systems.
void setPrintStackTraceInProduction(boolean enable) throws DistributedManagementException
Sets the value of the PrintStackTraceInProduction attribute.
enable
- The new shouldPrintStackTraceInProduction valueDistributedManagementException
KernelMBean.getPrintStackTraceInProduction()
ExecuteQueueMBean[] getExecuteQueues()
Returns the execute queues configured for this server.
int getMaxOpenSockCount()
The maximum number of open sockets allowed in server at a given point of time.
When the maximum threshold is reached, the server stops accepting new requests until the number of sockets drops below the threshold.
A value less than 0
indicates an unlimited size.
void setMaxOpenSockCount(int sockCount)
Sets the value of the MaxOpenSockCount attribute.
sockCount
- The new maxOpenSockCount valueKernelMBean.getMaxOpenSockCount()
String getStdoutFormat()
The output format to use when logging to the console.
void setStdoutFormat(String format)
Sets the value of the StdoutFormat attribute.
format
- The new stdoutFormat valueKernelMBean.getStdoutFormat()
boolean isStdoutLogStack()
Specifies whether to dump stack traces to the console when included in logged message.
void setStdoutLogStack(boolean stack)
Sets the value of the StdoutLogStack attribute.
stack
- The new stdoutLogStack valueKernelMBean.isStdoutLogStack()
int getStuckThreadMaxTime()
The number of seconds that a thread must be continually working before this server considers the thread stuck.
For example, if you set this to 600 seconds, WebLogic Server considers a thread to be "stuck" after 600 seconds of continuous use.
In WebLogic Server 9.x and later, it is recommended that you use the ServerFailureTriggerMBean in the OverloadProtectionMBean. The ServerFailureTriggerMBean transitions the server to a FAILED state after the specified number of stuck threads are detected. The OverloadProtectionMBean has options to suspend or shutdown a failed server.
void setStuckThreadMaxTime(int seconds) throws InvalidAttributeValueException
Sets the value of the StuckThreadMaxTime attribute.
From WLS 9.0, it is recommended to used the ServerFailureTriggerMBean present in OverloadProtectionMBean. Setting the ServerFailureTriggerMBean transitions the server into FAILED state after the configured number of stuck threads are detected. OverloadProtectionMBean has options to suspend, shutdown a failed server.
seconds
- The new stuckThreadMaxTime valueInvalidAttributeValueException
KernelMBean.getStuckThreadMaxTime()
int getStuckThreadTimerInterval()
The number of seconds after which WebLogic Server periodically scans threads to see if they have been continually working for the configured maximum length of time.
KernelMBean.getStuckThreadMaxTime()
void setStuckThreadTimerInterval(int seconds) throws InvalidAttributeValueException
Sets the value of the StuckThreadTimerInterval attribute.
seconds
- The new stuckThreadTimerInterval valueInvalidAttributeValueException
KernelMBean.getStuckThreadTimerInterval()
int getMessagingBridgeThreadPoolSize()
Returns the size of the messaging bridge execute thread pool.
void setMessagingBridgeThreadPoolSize(int size) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MessagingBridgeThreadPoolSize attribute.
size
- The new messagingBridgeThreadPoolSize valueInvalidAttributeValueException
DistributedManagementException
IllegalArgumentException
- if the argument is null or represents a negative int.KernelMBean.getMessagingBridgeThreadPoolSize()
int getMTUSize()
Returns the size of the MTU of the NIC.
void setMTUSize(int size)
Sets the value of the MTUSize attribute.
KernelMBean.getMTUSize()
void setUse81StyleExecuteQueues(boolean enable)
Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers. Each of the WorkManagers is converted to an individual execute queue. Setting this attribute requires a server restart.
boolean getUse81StyleExecuteQueues()
Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers. Each of the WorkManagers is converted to an individual execute queue. Setting this attribute requires a server restart.
KernelMBean.getUse81StyleExecuteQueues()
ExecuteQueueMBean lookupExecuteQueue(String name)
name
-void setGatheredWritesEnabled(boolean enable)
boolean isGatheredWritesEnabled()
void setScatteredReadsEnabled(boolean enable)
boolean isScatteredReadsEnabled()
void setAddWorkManagerThreadsByCpuCount(boolean flag)
boolean isAddWorkManagerThreadsByCpuCount()
void setUseConcurrentQueueForRequestManager(boolean flag)
Specifies if self-tuning should use buffer queue to park incoming requests.
boolean isUseConcurrentQueueForRequestManager()
Reduces lock contention by using concurrent buffer queue to park incoming requests. Enabling this attribute increases throughput as requests are scheduled without acquiring any locks.
int getCompleteWriteTimeout()
The maximum number of seconds that this server waits for a complete HTTP response to be sent.
A value of 0
disables the complete write timeout. The default value is derived from the CompleteHTTPMessageTimeout. If it is -1
, then the CompleteMessageTimeout value is used for the default value.
void setCompleteWriteTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteWriteTimeout attribute.
seconds
- The new completeMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
KernelMBean.getCompleteWriteTimeout()
void setUseDetailedThreadName(boolean flag)
boolean isUseDetailedThreadName()
void setUseEnhancedPriorityQueueForRequestManager(boolean flag)
Specifies if self-tuning should use the enhanced ConcurrentCalendarQueue as the priority based queue for pending requests that are waiting for a thread.
This attribute should be enabled only in an Oracle Exalogic environment.
boolean isUseEnhancedPriorityQueueForRequestManager()
Reduces lock contention by using the enhanced ConcurrentCalendarQueue as the priority based queue for pending requests that are waiting for a thread.
This attribute should be enabled only in an Oracle Exalogic environment.
void setAllowShrinkingPriorityRequestQueue(boolean flag)
Specifies if self-tuning should allow shrinking of its priority based queue for pending requests after it has grown in size due to busy workload, and whether it should try to purge work requests that have already been picked up for processing due to minimum threads constraints before growing the queue.
boolean isAllowShrinkingPriorityRequestQueue()
Specifies whether self-tuning should allow shrinking of its priority based queue for pending requests after it has grown in size due to busy workload, and whether it should try to purge work requests that have already been picked up for processing due to minimum threads constraints before growing the queue. Setting this to true would help reduce memory footprint after the busy work period has ended, at the expense of the overhead of growing the request queue again at the next period of busy workload. It would also help to reduce the amount of memory allocated for the request queue, at the expense of the overhead required in purging already processed work requests from the queue.
void setUseEnhancedIncrementAdvisor(boolean flag)
Specifies if self-tuning should use the enhanced IncrementAdvisor implementation that uses a different algorithm to adjust the size of the self-tuning thread pool.
boolean isUseEnhancedIncrementAdvisor()
Specifies whether self-tuning should use the enhanced IncrementAdvisor implementation that uses a different algorithm to adjust the size of the self-tuning thread pool.
void setEagerThreadLocalCleanup(boolean flag)
boolean isEagerThreadLocalCleanup()
|
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 |