Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.configuration
Interface TransactionLogJDBCStoreMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, GenericJDBCStoreMBean, JDBCStoreMBean, MBeanRegistration, NotificationBroadcaster, PersistentStoreMBean, SettableBean, TransactionLogStoreMBean, WebLogicMBean

public interface TransactionLogJDBCStoreMBean
extends JDBCStoreMBean, TransactionLogStoreMBean

This class represents a Transaction Log JDBC Store configuration.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 int getMaxRetrySecondsBeforeTLOGFail()
          The maximum amount of time, in seconds, WebLogic Server tries to recover from a JDBC TLog store failure.
 int getMaxRetrySecondsBeforeTXException()
          The maximum amount of time, in seconds, WebLogic Server waits before trying to recover from a JDBC TLog store failure while processing a transaction.
 String getPrefixName()
          When using multiple TLOG JDBC stores, use this attribute to create a label ending in "_" that is prepended to the name of the server hosting the JDBC TLOG store and ends in "_" to form a unique JDBC TLOG store name for each configured JDBC TLOG store.
 int getRetryIntervalSeconds()
          The amount of time, in seconds, WebLogic Server waits before attempting to verify the health of the TLOG store after a store failure has occurred.
 boolean isEnabled()
          When true, TLOGs are logged to a TLOG JDBC Store; otherwise, TLOGs are logged to the server's default store.
 void setEnabled(boolean enabled)
          If enabled, indicates TLOGs should be logged to a TLOG JDBC store.
 void setMaxRetrySecondsBeforeTLOGFail(int retrySeconds)
          Set the max seconds during which period JTA will try to recover from store's failure before mark TLOG as HEALTH_FAILED.
 void setMaxRetrySecondsBeforeTXException(int retrySeconds)
          Sets the maximum seconds JTA will try to recover from store's failure for one transaction before throwing an exception.
 void setPrefixName(String name)
          Sets the value of PrefixName attribute.
 void setRetryIntervalSeconds(int intervalSeconds)
          Sets the interval in seconds at which JTA will attempt to verify the health of the TLOG store after a store failure has occurred.
 
Methods inherited from interface weblogic.management.configuration.JDBCStoreMBean
getDataSource, getDeletesPerBatchMaximum, getDeletesPerStatementMaximum, getInsertsPerBatchMaximum, getThreeStepThreshold, getWorkerCount, getWorkerPreferredBatchSize, setDataSource, setDeletesPerBatchMaximum, setDeletesPerStatementMaximum, setInsertsPerBatchMaximum, setThreeStepThreshold, setWorkerCount, setWorkerPreferredBatchSize
 
Methods inherited from interface weblogic.management.configuration.GenericJDBCStoreMBean
getCreateTableDDLFile, setCreateTableDDLFile
 
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
 
Methods inherited from interface weblogic.management.configuration.PersistentStoreMBean
addTarget, getLogicalName, getTargets, getXAResourceName, removeTarget, setLogicalName, setTargets
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
getDeploymentOrder, setDeploymentOrder
 
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
 
Methods inherited from interface weblogic.management.configuration.PersistentStoreMBean
addTarget, getLogicalName, getTargets, getXAResourceName, removeTarget, setLogicalName, setTargets
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
getDeploymentOrder, setDeploymentOrder
 
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

getPrefixName

String getPrefixName()

When using multiple TLOG JDBC stores, use this attribute to create a label ending in "_" that is prepended to the name of the server hosting the JDBC TLOG store and ends in "_" to form a unique JDBC TLOG store name for each configured JDBC TLOG store.

The default prefix name is "TLOG_" . For example, a valid JDBC TLOG store name using the default Prefix Name is TLOG_MyServer_ where TLOG_ is the Prefix Name and MyServer is the name of the server hosting the JDBC TLOG store.

Specified by:
getPrefixName in interface GenericJDBCStoreMBean
Returns:
The prefixName value

setPrefixName

void setPrefixName(String name)
Description copied from interface: GenericJDBCStoreMBean

Sets the value of PrefixName attribute.

Specified by:
setPrefixName in interface GenericJDBCStoreMBean
Parameters:
name - The new prefixName value
See Also:
GenericJDBCStoreMBean.getPrefixName()

isEnabled

boolean isEnabled()

When true, TLOGs are logged to a TLOG JDBC Store; otherwise, TLOGs are logged to the server's default store.

When using the Administration Console, select JDBC to enable logging of TLOGs to a JDBC store; select Default Store to enable logging of TLOGs to the server's default store.

Returns:
The enabled value

setEnabled

void setEnabled(boolean enabled)

If enabled, indicates TLOGs should be logged to a TLOG JDBC store.

See Also:
TransactionLogJDBCStoreMBean.isEnabled()

getMaxRetrySecondsBeforeTLOGFail

int getMaxRetrySecondsBeforeTLOGFail()

The maximum amount of time, in seconds, WebLogic Server tries to recover from a JDBC TLog store failure. If store remains unusable after this period, WebLogic Server set the health state to HEALTH_FAILED. A value of 0 indicates WebLogic Server does not conduct a retry and and immediately sets the health state as HEALTH_FAILED.

Changes take effect after you redeploy the module or restart the server.
Default Value:
300
Maximum Value:
java.lang.Integer.MAX_VALUE
Minimum Value:
0

setMaxRetrySecondsBeforeTLOGFail

void setMaxRetrySecondsBeforeTLOGFail(int retrySeconds)

Set the max seconds during which period JTA will try to recover from store's failure before mark TLOG as HEALTH_FAILED.

See Also:
TransactionLogJDBCStoreMBean.getMaxRetrySecondsBeforeTLOGFail()

getMaxRetrySecondsBeforeTXException

int getMaxRetrySecondsBeforeTXException()

The maximum amount of time, in seconds, WebLogic Server waits before trying to recover from a JDBC TLog store failure while processing a transaction. If store remains unusable after this amount of time, WebLogic Server throws an exception the affected transaction. A value of 0 indicates WebLogic Server does not conduct a retry and an exception will thrown immediately. The practical maximum value is a value less than the current value of MaxRetrySecondsBeforeTLogFail.

Changes take effect after you redeploy the module or restart the server.
Default Value:
60
Maximum Value:
300
Minimum Value:
0

setMaxRetrySecondsBeforeTXException

void setMaxRetrySecondsBeforeTXException(int retrySeconds)

Sets the maximum seconds JTA will try to recover from store's failure for one transaction before throwing an exception.

See Also:
TransactionLogJDBCStoreMBean.getMaxRetrySecondsBeforeTXException()

getRetryIntervalSeconds

int getRetryIntervalSeconds()

The amount of time, in seconds, WebLogic Server waits before attempting to verify the health of the TLOG store after a store failure has occurred.

Changes take effect after you redeploy the module or restart the server.
Default Value:
5
Maximum Value:
60
Minimum Value:
1

setRetryIntervalSeconds

void setRetryIntervalSeconds(int intervalSeconds)

Sets the interval in seconds at which JTA will attempt to verify the health of the TLOG store after a store failure has occurred.

See Also:
TransactionLogJDBCStoreMBean.getRetryIntervalSeconds()

Copyright 1996, 2013, 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.1.2)

Part Number E27170-02