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 TransactionLogJDBCStoreMBean

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

public interface TransactionLogJDBCStoreMBean
extends JDBCStoreMBean

This class represents a Transaction Log JDBC Store configuration.

Since:
10.3.6.0

Field Summary

 

Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER

 

Method Summary
abstract  int getMaxRetrySecondsBeforeTLOGFail()
          The maximum amount of time, in seconds, WebLogic Server tries to recover from a JDBC TLog store failure.
abstract  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.
abstract  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.
abstract  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.
abstract  boolean isEnabled()
          When true, TLOGs are logged to a TLOG JDBC Store; otherwise, TLOGs are logged to the server's default store.
abstract  void setDataSource(JDBCSystemResourceMBean dataSource)
          Sets the value of the DataSource attribute.
abstract  void setEnabled(boolean enabled)
          If enabled, indicates TLOGs should be logged to a TLOG JDBC store.
abstract  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.
abstract  void setMaxRetrySecondsBeforeTXException(int retrySeconds)
          Sets the maximum seconds JTA will try to recover from store's failure for one transaction before throwing an exception.
abstract  void setPrefixName(String name)
          Sets the value of PrefixName attribute.
abstract  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, getReconnectRetryIntervalMillis, getReconnectRetryPeriodMillis, getThreeStepThreshold, getWorkerCount, getWorkerPreferredBatchSize, isOraclePiggybackCommitEnabled, setDeletesPerBatchMaximum, setDeletesPerStatementMaximum, setInsertsPerBatchMaximum, setOraclePiggybackCommitEnabled, setReconnectRetryIntervalMillis, setReconnectRetryPeriodMillis, setThreeStepThreshold, setWorkerCount, setWorkerPreferredBatchSize

 

Methods inherited from interface weblogic.management.configuration.GenericJDBCStoreMBean
getCreateTableDDLFile, setCreateTableDDLFile

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
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, setXAResourceName

 

Methods inherited from interface weblogic.management.configuration.DynamicDeploymentMBean
getDistributionPolicy, getFailbackDelaySeconds, getInitialBootDelaySeconds, getMigrationPolicy, getNumberOfRestartAttempts, getPartialClusterStabilityDelaySeconds, getRestartInPlace, getSecondsBetweenRestarts, setDistributionPolicy, setFailbackDelaySeconds, setInitialBootDelaySeconds, setMigrationPolicy, setNumberOfRestartAttempts, setPartialClusterStabilityDelaySeconds, setRestartInPlace, setSecondsBetweenRestarts

 

Methods inherited from interface weblogic.management.configuration.DeploymentMBean
getDeploymentOrder, setDeploymentOrder

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
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.


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.


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.


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()

setDataSource

void setDataSource(JDBCSystemResourceMBean dataSource)
                   throws InvalidAttributeValueException

Sets the value of the DataSource attribute.

Specified by:
setDataSource in interface JDBCStoreMBean
Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getDataSource()

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