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

Part Number E27170-02

weblogic.management.configuration
Interface JDBCStoreMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, GenericJDBCStoreMBean, MBeanRegistration, NotificationBroadcaster, PersistentStoreMBean, SettableBean, WebLogicMBean
All Known Subinterfaces:
TransactionLogJDBCStoreMBean

public interface JDBCStoreMBean
extends GenericJDBCStoreMBean, PersistentStoreMBean

Defines an instance of the persistent store that stores its persistent records in a JDBC-accessible database. It may be used by JMS and by other subsystems.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Method Summary
 JDBCSystemResourceMBean getDataSource()
          The JDBC data source used by this JDBC store to access its backing table.
 int getDeletesPerBatchMaximum()
          The maximum number of table rows that are deleted per database call.
 int getDeletesPerStatementMaximum()
          The maximum number of table rows that are deleted per database call.
 int getInsertsPerBatchMaximum()
          The maximum number of table rows that are inserted per database call.
 int getThreeStepThreshold()
          Specifies the threshold, in bytes, when the JDBC store uses 3 steps (insert, select, populate) instead of 1 step (insert) to populate an Oracle Blob data type.
 int getWorkerCount()
          The number of JDBC store worker threads to process the workerload.
 int getWorkerPreferredBatchSize()
          Specifies the batch size when the Worker Count attribute is configured to a value greater than 1.
 void setDataSource(JDBCSystemResourceMBean dataSource)
          Sets the value of the DataSource attribute.
 void setDeletesPerBatchMaximum(int deletesPerBatchMaximum)
          Sets the value of the DeletesPerBatchMaximum attribute.
 void setDeletesPerStatementMaximum(int deletesPerBatchMaximum)
          Sets the value of the DeletesPerStatementMaximum attribute.
 void setInsertsPerBatchMaximum(int deletesPerBatchMaximum)
          Sets the value of the InsertsPerBatchMaximu attribute.
 void setThreeStepThreshold(int threeStepThreshold)
          Sets the value of the ThreeStepThreshold attribute.
 void setWorkerCount(int workerCount)
          Sets the value of the WorkerCount attribute.
 void setWorkerPreferredBatchSize(int workerLoadSize)
          Sets the value of the WorkerPreferredBatchSize attribute.
 
Methods inherited from interface weblogic.management.configuration.GenericJDBCStoreMBean
getCreateTableDDLFile, getPrefixName, setCreateTableDDLFile, setPrefixName
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled
 
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
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
getDeploymentOrder, setDeploymentOrder
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled
 
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

getDataSource

JDBCSystemResourceMBean getDataSource()

The JDBC data source used by this JDBC store to access its backing table.

The specified data source must use a non-XA JDBC driver since connection pools for XA JDBC drivers are not supported.


setDataSource

void setDataSource(JDBCSystemResourceMBean dataSource)
                   throws InvalidAttributeValueException

Sets the value of the DataSource attribute.

Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getDataSource()

getDeletesPerBatchMaximum

int getDeletesPerBatchMaximum()

The maximum number of table rows that are deleted per database call.

Returns:
The deletesPerBatchMaximum value
See Also:
JDBCStoreMBean.getInsertsPerBatchMaximum(), JDBCStoreMBean.getDeletesPerStatementMaximum()

setDeletesPerBatchMaximum

void setDeletesPerBatchMaximum(int deletesPerBatchMaximum)
                               throws InvalidAttributeValueException

Sets the value of the DeletesPerBatchMaximum attribute.

Throws:
InvalidAttributeValueException
DistributedManagementException
See Also:
JDBCStoreMBean.getDeletesPerBatchMaximum()
Default Value:
20
Maximum Value:
100
Minimum Value:
1

getInsertsPerBatchMaximum

int getInsertsPerBatchMaximum()

The maximum number of table rows that are inserted per database call.

Returns:
The insertsPerBatchMaximum value
See Also:
JDBCStoreMBean.getDeletesPerBatchMaximum(), JDBCStoreMBean.getDeletesPerStatementMaximum()

setInsertsPerBatchMaximum

void setInsertsPerBatchMaximum(int deletesPerBatchMaximum)
                               throws InvalidAttributeValueException

Sets the value of the InsertsPerBatchMaximu attribute.

Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getInsertsPerBatchMaximum()
Default Value:
20
Maximum Value:
100
Minimum Value:
1

getDeletesPerStatementMaximum

int getDeletesPerStatementMaximum()

The maximum number of table rows that are deleted per database call.

Returns:
The deletesPerStatementMaximum value
See Also:
JDBCStoreMBean.getDeletesPerBatchMaximum(), JDBCStoreMBean.getInsertsPerBatchMaximum()

setDeletesPerStatementMaximum

void setDeletesPerStatementMaximum(int deletesPerBatchMaximum)
                                   throws InvalidAttributeValueException

Sets the value of the DeletesPerStatementMaximum attribute.

Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getDeletesPerStatementMaximum()
Default Value:
20
Maximum Value:
100
Minimum Value:
1

getWorkerCount

int getWorkerCount()

The number of JDBC store worker threads to process the workerload.

Returns:
The WorkerCount value

setWorkerCount

void setWorkerCount(int workerCount)
                    throws InvalidAttributeValueException

Sets the value of the WorkerCount attribute.

Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getWorkerCount()
Default Value:
1
Maximum Value:
1000
Minimum Value:
1

getWorkerPreferredBatchSize

int getWorkerPreferredBatchSize()

Specifies the batch size when the Worker Count attribute is configured to a value greater than 1.

Used to configure the workload the JDBC store incrementally puts on each worker thread. The workload consists of IO requests which are grouped and pushed to each JDBC worker thread for processing. If the IO request is very large (for example 1M), then tune this attribute to a smaller value.

Returns:
The WorkerPreferredBatchSize value

setWorkerPreferredBatchSize

void setWorkerPreferredBatchSize(int workerLoadSize)
                                 throws InvalidAttributeValueException

Sets the value of the WorkerPreferredBatchSize attribute.

The default value is 10.

Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getWorkerPreferredBatchSize()
Default Value:
10
Maximum Value:
java.lang.Integer.MAX_VALUE
Minimum Value:
1

getThreeStepThreshold

int getThreeStepThreshold()

Specifies the threshold, in bytes, when the JDBC store uses 3 steps (insert, select, populate) instead of 1 step (insert) to populate an Oracle Blob data type.

Applies only to Oracle databases where a Blob data type is used instead of the default Long Raw data type for record data.

The default value is 200000.

Returns:
The threeStepThreshold value

setThreeStepThreshold

void setThreeStepThreshold(int threeStepThreshold)
                           throws InvalidAttributeValueException

Sets the value of the ThreeStepThreshold attribute.

Throws:
InvalidAttributeValueException
See Also:
JDBCStoreMBean.getThreeStepThreshold()
Default Value:
200000
Maximum Value:
java.lang.Integer.MAX_VALUE
Minimum Value:
4000

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